HTML The Definitive Guide

HTML The Definitive Guide by Chuck Musciano Bill Kennedy Page A

Book: HTML The Definitive Guide by Chuck Musciano Bill Kennedy Read Free Book Online
Authors: Chuck Musciano Bill Kennedy
Ads: Link
anchor contents usually look different from the surrounding content (text in a different color or underlined, images with specially colored borders, or other effects), and the mouse pointer icon changes when passed over them. The tag contents, therefore, should be text or an image (icons are great) that explicitly or intuitively tells users where the hyperlink will take them.
    [The
Tag, 7.3.1]
    For instance, the browser will specially display and change the mouse pointer when it passes over the "Kumquat Archive" text in the following example: For more information on kumquats, visit our
Kumquat Archive
    If the user clicks the mouse button on that text, the browser automatically retrieves from the server www.kumquat.com a web (http: ) page named archive.html , and then displays it for the user.
    2.7.3 Hyperlink Names and Navigation
    Pointing to another document in some collection somewhere on the other side of the world is not only cool, but it also supports your own HTML documents. Yet the hyperlinks' chief duty is to help users navigate your collection in their search for valuable information. Hence, the concept of the home page and supporting HTML documents has arisen.
    None of your HTML documents should run on and on. First, there's a serious performance issue: the value of your work suffers, no matter how rich it is, if the document takes forever to download, and if once retrieved, users must endlessly scroll up and down through the display to find a particular section.
    Rather, design your work as a collection of several compact and succinct pages, like chapters in a book, each focused to a particular topic for quick selection and browsing by the user. Then use hyperlinks to organize that collection.
    For instance, use your home page - the leading document of the collection - as a master index full of brief descriptions and respective hyperlinks to the rest of your collection.
    You should also use the special attribute of the tag called name. Or, when the popular browsers come to support the new HTML 4.0 feature, use the id attribute to specially name and identify nearly any tagged section of your document, including the anchor tag. Tag ids and anchors with the name attribute serve as internal hyperlink targets in your HTML documents. Normally, the browser displays a freshly downloaded document at the beginning. Name anchors let you begin the display at the section of interest further down. Simply include them anywhere that they make sense as a hyperlink target. They do not change the appearance of enclosed or surrounding content.
    Thereafter, you may append the name, after a separating pound sign (#), as a suffix in the URL of a hyperlink that references that specific place in your document. For instance, to reference a specific topic in an archive, such as "Kumquat Stew Recipes" in our example Kumquat Archive, you mark that section with a name anchor: ... preceding content...
    

    

Kumquat Stew Recipes


    In the same or another document, you prepare a source hyperlink that points directly to those recipes by including the section's anchor name as a suffix to the document's URL, separated by a pound sign: For more information on kumquats, visit our Kumquat Archive,
    and perhaps try one or two of our
     Kumquat Stew Recipes.
    If selected by the user, the latter hyperlink causes the browser to download the archive.html document and start the display at our "Stews" anchor.
    2.7.4 Anchors Beyond HTML
    HTML hyperlinks are not limited to other HTML documents. Anchors let you point to nearly any type of document available over the Internet, including other Internet services.
    However, "let" and "enable" are two different things. Browsers can manage the various Internet services, like FTP and Gopher, so that users can download non-HTML

Similar Books

Shifting

Rachel D'Aigle

Thirty Happens

Elizabeth Butts

The Shore

S. E. Brown

Wicked Demons 2

Reece Vita Asher

Hezbollah

Matthew Levitt