30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Appendix K Introduction <strong>to</strong> XHTML: Part 2 1445<br />

85 <br />

Fig. K.6 Using internal hyperlinks <strong>to</strong> make pages more easily navigable (part 3 of 3).<br />

Line 16 contains a named anchor (called features) for an internal hyperlink. To<br />

link <strong>to</strong> this type of anchor inside the same Web page, the href attribute of another anchor<br />

element includes the named anchor preceded with a pound sign (as in #features). Lines<br />

73–74 contain a hyperlink with the anchor features as its target. Selecting this hyperlink<br />

in a Web browser scrolls the browser window <strong>to</strong> the features anchor at line 16.<br />

Look-and-Feel Observation K.1<br />

Internal hyperlinks are useful in XHTML documents that contain large amounts of information.<br />

Internal links <strong>to</strong> various sections on the page make it easier for users <strong>to</strong> navigate the<br />

page: They do not have <strong>to</strong> scroll <strong>to</strong> find a specific section. K.1<br />

Although not demonstrated in this example, a hyperlink can specify an internal link in<br />

another document by specifying the document name followed by a pound sign and the<br />

named anchor as in:<br />

href = "page.html#name"

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

Saved successfully!

Ooh no, something went wrong!