O'Reilly logo

HTML5, 2nd Edition by Matthew David

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Project 2: Applying CSS3 to Your Web Design

The goal of this project is to expand on the HTML5 pages you created in Project 1 by adding some color and flare. By themselves, HTML5 elements are not pretty. This is a good thing. Back in the days of HTML3.2, a nasty tool made itself available to web designers: the HTML FONT element. Brrr… I get shivers just thinking about it. Today, Cascading Style Sheets (CSS) gives you greater flexibility to design your web sites.

To illustrate how powerful CSS is, let’s take a look at the web site shown in Figure 2.1Proj with no styles applied to it.

Figure 2.1Proj HTML without CSS.

Figure 2.1Proj HTML without CSS.

Figure 2.2Proj CSS is ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required