22.06.2015 Views

o_19octlt3v29m1ul81r9513q81i4ra.pdf

Create successful ePaper yourself

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

30 Chapter 3<br />

Note HTML also allows the tag as a substitute for , and the tag (emphasis)<br />

as a substitute for . For example, Expression Web (covered in Chapter 17, “HTML and<br />

Microsoft Expression Web”) uses and when you apply italics and boldface from<br />

its toolbar. You will probably never use those, but you should know what they are in case you<br />

come across them. You can also define bold and italic attributes for styles, as you will learn in<br />

Part 2.<br />

In this exercise, you will make text bold and italic.<br />

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

previous exercise, 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\HTML5 SBS\03Format\<br />

ApplyingBold folder.<br />

1. In the index file, locate the heading near the top of the document, and then<br />

enclose it in an tag:<br />

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

2. In the first body paragraph, enclose The Garden Company in a tag.<br />

Welcome to The Garden Company! We hope you will find our site a<br />

useful resource for becoming a better gardener.<br />

3. Enclose the store hours in and tags.<br />

Please stop by and browse our extensive inventory from Monday<br />

through Saturday, 7:00 a.m. to 8:00 p.m.<br />

Note Remember the “first in, last out” rule. If you begin with , end with<br />

.<br />

4. Save the file, and then refresh the Internet Explorer display to view the results.

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

Saved successfully!

Ooh no, something went wrong!