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.

180 Chapter 10<br />

<br />

<br />

<br />

<br />

<br />

<br />

Note Even though ScreenTips simply display the text that the user is clicking, they are<br />

still useful because they indicate that the text is clickable.<br />

Notice the &amp; used in the second hotspot definition. Remember that HTML uses the<br />

ampersand as a special character, so to display an ampersand, you must use &amp; so that<br />

it will render as an ordinary symbol.<br />

7. Save the file, and then refresh Internet Explorer. Position the mouse pointer over<br />

each name in the navigation bar to display the ScreenTips.<br />

CLEAN UP Close the Notepad and Internet Explorer windows.<br />

Redirecting to Another URL<br />

After you have managed your own Web site for a while, you might decide you want to<br />

restructure its organization <strong>by</strong> renaming some pages, placing pages in folders, or hosting<br />

your site at a different location with a different URL. All that is fine, but what about the<br />

people who bookmarked the original page? They’ll be faced with an unfriendly Page Not<br />

Found message if you remove the old content entirely, and they won’t have any way of<br />

finding the page in its new location.<br />

To help your past visitors find the new page, you can leave the old page in place and<br />

replace its text with a hyperlink that tells them where the new page is located. You<br />

already know how to create a hyperlink—that’s simple. But you can take it one step<br />

further and set up the old page to actually redirect to the new page. In other words,<br />

you can make the old page automatically display the new page.

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

Saved successfully!

Ooh no, something went wrong!