Appendix K Introduction to XHTML: Part 1 (Virtual web hosting) 1439

Appendix K Introduction to XHTML: Part 1 1439 Fig. K.5 Fig. K.Fig.Fi K.5g. K.55Linking to other Web pages. (Part 2 of 2.) Fig. K. Links are created using the a (anchor) element. Line 21 defines a hyperlink that links the text Deitelto the URL assigned to attribute href, which specifies the location of a linked resource, such as a Web page, a file or an e-mail address. This particular anchor element links to a Web page located at http://www.deitel.com. When a URL does not indicate a specific document on the Web site, the Web server returns a default Web page. This pages often is called index.html; however, most Web servers can be configured to to use any file as the default Web page for the site. (Open http://www.deitel.com in one browser window and http://www.deitel.com/index.html in a second browser window to confirm that they are identical.) If the Web server cannot locate a requested document, the server returns an error indication to the Web browser and the browser displays an error message to the user. Anchors can link to e-mail addresses through a mailto: URL. When someone clicks this type of anchored link, most browsers launch the default e-mail program (e.g., Outlook Express) to enable the user to write an e-mail message to the linked address. Figure K.6 demonstrates this type of anchor.
Searching for affordable and proven webhost to host and run your servlet applications? Go to Linux Web Hosting services and you will find it.

Leave a Reply