HyperReference (Linking )Tips

  • Check all relative links to insure they are current and work. Test frequently.The Relative path specifies a file's location in relation to the location of the current document. The format is:
    folder/filename or …/filename
    NO spaces between the slash and names.
  • Absolute links specifies the precise file location including the full URL. folder1/folder2/filename or   http://www.google.com
  • Create a linking style that is easy to navigate. Anchors should have the same format and placement on each page.
  • Use title attribute to give users an essence of the link before it's selected.
  • Do not rely on graphic (images) to link to other documents.
  • Eliminate using the vertical scroll bars to read long documents, two pages or more in length. Provide easy navigation up and down the page with Name Anchors or internal links within the page.
  • When linking to absolute sites, have that site open in a new window with the target attribute. Use either href attribute: target="new" or target="_blank "
  • Provide a site map (directory) when the site contains many pages (over 50 pages).
  • Use XHTML tables to align multiple links on the pages. (part 2)
  • Style sheets allow for removing the blue underline from links but be sure to use compatible colors for ease of reading. (part 2)
  • Use base location when web pages are moved from one directory (root) to another. The format is <base href="path" /> and is placed in the head.
  • To effectively manage a Web site, first be consistant with you site structure. Place all like items in like named folder; images, media, video, and stylesheets.
  • Document your work by adding comments to each Web page which are useful as reminders or others assisting you. Comments should include filenames, locations, author, support files, and any other pertinent data.
  • Metadata information is placed in the head so the search engines can read it and add the site to their search indices.
  • Web Design with XHTML Part I
    Doris Cuffey, Instructor