January 2018
Intermediate to advanced
678 pages
20h 16m
English
We’ll wait until Chapter 3 for a robust presentation of Cascading Style Sheets (CSS), but for now it’s appropriate to give you a preview so you’re aware of the basic concepts. As you may recall, CSS allows you to add formatting to your web pages. The formatting rules go inside a style container. In the skeleton code for the weather web page in FIGURE 1.8, note the style container within the head container. Within the style container, note the two lines that begin with h1 and hr. Those lines are the rules that apply to the h1 and hr elements in the body container. Each rule has a CSS property and a CSS value, separated by a colon. The first rule, for h1, uses a text-align property with a value of center
Read now
Unlock full access