February 2006
Beginner
416 pages
11h 35m
English
<tag style="rule: value; rule: value">text</tag>
where tag is any tag, rule is a style rule, and value is the value for that rule.
<head> <style> tag {rule: value; rule: value} </style> </head>
where tag is any tag, rule is a style rule, and value is the value for that rule. For example:
p {font-size: 10px; font-color: blue}Creating Styles for Nested Tags
For example, if tag2 should be formatted a certain way only when nested inside tag1:
<head> <style> tag1 tag2 {rule: value; rule: value} </style> </head>
where tag1 and ...
Read now
Unlock full access