CSS ID SELECTOR

id Selector:

The "id selector" uses the id attribute of an HTML element to select a specific element.
An id should be unique within a page, so the id selector is used if you want to select a single element.
An "id selector" defines as a symbol "#".

Example

#header {
    text-align: center;
    font-size: 18px;
}

Share this

Related Posts

Previous
Next Post »