Links
 
 
Building on the Internet, "HTTP" and "HTML" create the essence of the Web. "Links" integrate the protocol and the language.
 
http://www.cnn.com/2005/TECH/12/12/web.history/index.html?section=cnn_latest -- 15 years of the World Wide Web
 
 
Examples:
 
<a href="http://domain.com/">link text</a> (clicking "link text" will take you to the home page of domain.com)
 
<a title="The description of what you'll find if you click the link text." href="http://domain.com/">link text</a> (adds a description of what the link points to)
 
<a href="http://sub-domain.domain.com/more/extended/path/rabbit.html">link text</a> (a link with a more extended path, i.e., more sub-folders)
 
___________________________________________________
 
<img alt="The 'Mona Lisa as a mosaic of grass." src="http://domain.com/images/monalisa.jpg"> (insert an image)
 
<a href="http://domain.com/images/monalisa-large.jpg"><img alt="The 'Mona Lisa as a mosaic of grass." src="http://domain.com/images/monalisa.jpg"></a> (an image with a clickable link)
 
___________________________________________________
 
<a href="http://domain.com/interests/music/mp3/12strag.mp3">12th Street Rag</a>
 
Found on a page in the "music" folder and pointing to the mp3 file "12strag.mp3". (ablsolute path)
 
<a href="mp3/12strag.mp3">12th Street Rag</a> (works the same as above, but using the relavive path)
 
___________________________________________________
 
<a name="paragraph3"></a> (a named anchor -- in this example at the top of the 3rd paragraph on the "interests.html" page)
 
<a href="http://domain.com/about/interests.html#paragraph3">link text</a> (takes you to paragraph 3 on the "interests.html" page)
 
___________________________________________________
 
<link rel="stylesheet" type="text/css" href="../base.css"> (a link to a stylesheet -- goes in the <.head><./head> element)
 
More...
 
http://www.coffeecup.com/html-editor/help/absolute-vs-relative-pathslinks.380.html -- absolute vs relative paths/links
Previous  |  Next ]     [ Up a level  |  First   |  Last ]     (Article 25 of 54)

This page is created with TreePad