HTML and CSS Reference
In-Depth Information
<body>
<header>
Start Here! Build <b>Windows 8</b> Applications with <b>HTML5</b> and
<b>JavaScript</b>
<hr />
</header>
<footer>
<hr />
Dino Esposito | Francesco Esposito
</footer>
</body>
Now let's proceed with colors and fonts. The style of the page is defined in the default.css file from
the CSS folder. By editing a CSS file, you can change nearly everything in a HTML page that has to do
with appearance and layout. You'll find a summary of what's important to know about CSS in Chapter 3,
“Making sense of CSS.”
In the default.css file, you initially find something like below:
body {
}
This code describes the style to be applied to the tag body of any page that links the CSS file. You
can edit the CSS file manually or you can create CSS styles using a builder tool available in Visual
Studio. To use the tool, right-click a CSS element (that is, body ) and select Build Style, as shown in
Figure 1-17.
FIGURE 1-17 Editing the style of the page.
Search WWH ::




Custom Search