HTML and CSS Reference
In-Depth Information
3
CHAPTER
Configuring
Color and Text
with CSS
Chapter Objectives
In this chapter, you will learn how to ...
●
Describe the evolution of style sheets from print
media to the Web
●
List advantages of using Cascading Style
Sheets
●
Use color on Web pages
●
Create style sheets that configure common color
and text properties
●
Apply inline styles
●
Use embedded style sheets
●
Use external style sheets
●
Create CSS
class
and
id
selectors
●
Validate CSS
Now that you have been introduced to XHTML,
you are
ready to explore
Cascading Style Sheets (CSS)
. CSS is not new—it was first
proposed as a standard by the W3C in 1996. However, browsers and other
user agents have only supported this technology consistently for the past sev-
eral years. Now that there is fairly steady support, Web developers have begun
to use CSS to separate the presentation style of a Web page from the informa-
tion on the Web page itself. CSS is used to configure text, color, and page
layout.
This chapter introduces you to the use of CSS on the Web as you explore con-
figuring color and text.
75
Search WWH ::
Custom Search