CSSNo Comments

default thumbnail

There are a lot of selectors in css like class, id, name etc. Id is unique selector which is used only one time on a page.

HTML

<div id="article">

</div>

CSS(Select id in css)

#article{ width:100px; height:100px; background:#F00}

We can select a div element having id selector by ‘#’

Be the first to post a comment.

Add a comment