HTML and CSS Reference
In-Depth Information
4
and Color Units
In the discussion of CSS syntax in Chapter 1, you saw that the second
part of each CSS declaration is a value. In this chapter, you'll explore
some common units for defining sizes (
<length>
and
<percentage>
),
colors (
<color>
), and URLs (
<url>
) for defining these values.