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.

Using Monospace and Preformatted Text 35<br />

3. Enclose the two monospace words in tags (inside the tags).<br />

1. Click in the Login box<br />

2. Type premium<br />

3. Click in the Password box<br />

4. Type customer<br />

Note You can place the tags either inside or outside the tags, as long as you<br />

remember the “first-in, last-out” rule consistently. For example, you could either write<br />

customer or customer, but you should not<br />

mix up the tag order like this: customer. Improperly nested codes<br />

often render properly in HTML, but not in XHTML.<br />

4. Save your work, and then refresh Internet Explorer to see the changes.<br />

5. Close the instructions file and the Internet Explorer window.<br />

6. Open the poem file in Notepad and Internet Explorer.<br />

7. In Notepad, in the section, create the following title:<br />

”The Gardener” <strong>by</strong> Robert Louis Stevenson<br />

8. In another copy of Notepad, open the poemtext file.<br />

9. Select the poem title, attribution, and text (but not the biography note at the bottom<br />

of the file), and then press Ctrl+C to copy it to the Clipboard.

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

Saved successfully!

Ooh no, something went wrong!