10.07.2017 Views

246996016-HTML5-Step-by-Step

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

106 Chapter 7<br />

3. Open the index file in Notepad. Change the tag for the copyright notice at the bottom<br />

of the page to use the Times New Roman, Times, or serif font.<br />

<br />

Copyright &copy; 2012 The Garden Company&trade;<br />

No material may be reproduced without written permission<br />

Contact the Webmaster<br />

4. Save the file, and then refresh the Internet Explorer display.<br />

ont<br />

determ ned<br />

<strong>by</strong> sty e ru e<br />

def ned n<br />

defau t css<br />

ont ru e<br />

overr dden<br />

<strong>by</strong> sty e<br />

attr bute n<br />

the tag<br />

Because each page of the Web site has a copyright notice, it might be better to create<br />

a class (as you learned in Chapter 6, “Introduction to Style Sheets”) and change<br />

the font for the class. That’s what we’ll do next.<br />

5. In Notepad in index.htm, remove the style attribute you just applied to the copyright<br />

notice, and instead apply a class called copyright to that paragraph, as follows:<br />

<br />

Copyright &copy; 2012 The Garden Company&trade;<br />

No material may be reproduced without written permission<br />

Contact the Webmaster

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

Saved successfully!

Ooh no, something went wrong!