HTML and CSS Reference
horizontal rule <hr />
at 50% added
(b) Rock Climbing Fun Web page formatted to improve appearance.
Using Style Sheets
Although HTML allows Web developers to make changes to the structure, design,
and content of a Web page, HTML is limited in its ability to define the appearance, or
style, across one or more Web pages. As a result, style sheets were created.
As a review, a style is a rule that defines the appearance of an element on a Web page.
A Cascading Style Sheet (CSS) is a series of rules that defines the style for a Web page or
an entire Web site. With a style sheet, you can alter the appearance of a Web page or pages
by changing characteristics such as font family, font size, margins, and link specifications.
The latest version of CSS is CSS3. As with HTML5, CSS3 is still in a working draft
status at the World Wide Web Consortium (W3C). CSS3 adds many new style features,
including column-based layouts, rounded borders, and enhanced text effects. For full
CSS3 styles, visit w3.org. We will utilize some of the new styles in later chapters.