Search the Whole World Here.,.,

The id Attribute


To define a specific style for one special element, add an id attribute to the element:
<p id="p01">I am different</p>
then define a style for the element with the specific id:

Example

#p01 {
    color: blue;
}
Try it Yourself »
Note: The id of an element should be unique within a page, so the id selector is used to select one unique element!


EmoticonEmoticon