¢Use an id to
distinguish something, like a paragraph, from the others in a document.
For
example, to identify a paragraph as “head”, use the code:
<p id=“head”>… </p>
.
Working With Ids
¢To create an ID for a
specific tag, use the property:
<tag ID=id_name>
¢To apply a style to a
specific ID, use:
#id_name {style attributes and
values}
Classes
0 comments:
Post a Comment