------------------------------------------------------------------------------
MC logo
Linking
[^] CSc 302 Outlines
------------------------------------------------------------------------------
<<Starting XHTML Images>>
  1. Links take you somewhere else.
    1. On another server.
    2. In the same directory.
    3. In a different directory on the same server.
    4. A different place in the same document.
    5. A specific place in a different document.
  2. Anchor <a href="url">Highlighted Text</a>
    1. The Highlighted Text is usually shown underlined in blue.
    2. Click to go.
  3. Types of URLs.
    1. Absolute: http://www-1.ibm.com/linux/
    2. Relative.
      1. Files in the same directory. name.html
      2. Files one directory down. directory/name.html.
        The web uses forward slash, /, not backward slash, \.
      3. Files in the parent directory. ../name.html.
      4. Up and down: ../../masonry/bricks/firebrick.html.
      5. Server relative: /files/goodfiles/greatfiles/wonderful.html
    3. Internal links.
      1. Start with #: <a href="#clunk">Proceed</a>
      2. Specify the location: <a id="clunk" name="bottom">
      3. The id is scheduled to replace name.
      4. Link to a location in another document. <a href="somewhere.html#clunk">Go</a>.
  4. Mailto URLS: mailto:fred@someplace.com. Starts the mailer.
This is just here to
take up space

The End
<<Starting XHTML Images>>