Positioning with the CSS ID Attribute
Learn about the ID selector of the CSS.
We'll cover the following
CSS id
syntax
Similar to the class
attribute, we also have an id
attribute in our HTML.
As we’re already well aware, the class attribute is targeted in CSS like this:
.some-class-name
{
property: value
}
Get hands-on with 1400+ tech skills courses.