Web Development
HTML/CSS
Subjective
May 16, 2013
What is id selector?
Detailed Explanation
The id selector is used to specify a style for a single, unique element.The id selector uses the id attribute of the HTML element, and is defined with a "#".The style rule below will be applied to the element with id="content":
#content
{
text-align:left;
color:white;
height:200px;
}
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts