Key Points
Font families are sets of fonts, listed in order of preference. Because not all Web visitors have the same fonts installed on their computers, you should use the
font-familyargument to help ensure that your Web site appears the way you want.Font size is typically measured in pixels (px) for onscreen display. To specify size, use the
font-sizeargument.Font color can be defined by using any color description method, including RGB, hexadecimal, and color names. Use the
colorargument to define font color.Background color can be set for text by using the
background-colorargument. To set the background color for a paragraph, insert astyle=argument in the <p> tag.You can still use the <b> tag to apply bold formatting and the <i> tag ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access