10.07.2017 Views

246996016-HTML5-Step-by-Step

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

28 Chapter 3<br />

Dog Agility Club of Indiana<br />

Training for canine athletes and their humans<br />

<br />

Browsers that do not support this tag simply ignore it, so there is no harm in using it<br />

when appropriate.<br />

In this exercise, you will create some headings for the opening page of The Garden Company’s<br />

Web site.<br />

SET UP In both Internet Explorer and Notepad, open the index.htm file that you<br />

created in Chapter 2, or use the index.htm file in the practice file folder for this topic.<br />

This practice file is located in the Documents\Microsoft Press\<strong>HTML5</strong> SBS\03Format\<br />

CreatingHeadings folder.<br />

1. Immediately below the tag, type the following:<br />

<br />

The Garden Company<br />

Helping you help your gardens grow since 1975<br />

<br />

Note Some coding purists will tell you that you should use an heading instead of<br />

for the subtitle above, and then apply a style to make the text look the way you<br />

want, but because it is a few chapters yet until you will learn about styles, I’m taking a<br />

shortcut. For now, the default appearance of the heading is much closer to the<br />

desired look we want for this exercise.<br />

2. Immediately above the line containing the text Our Main Store is Located At, type<br />

the following:<br />

Come See Our Store<br />

3. Save the file, and then refresh the Internet Explorer display to check your work.<br />

The new heading appears in the body of the page.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!