The tutorials found herein have been written for clarification of existing W3C HTML 5 and HTML 4.01 (and, by extension, xHTML 1.0 as text/html) specifications through the use of real-world examples.

Some section names have been taken from HTML 5; some remain HTML 4.01. Text-Level Elements in HTML 4.01 - have become Text-Level Semantics in HTML 5 but some were reclassified as Grouping or Phrasing Content; List elements are Grouping Content but shown here as “Lists”.
href
The href attribute represents the location of a web resource. And, when used with anchor elements, It becomes a hyperlink to either another part of the document or another resource (e.g. an external webpage or an internal file on the sending site's server).
It may be found assigned with the following: a, area, base, link.
[Note: The href URL is the destination anchor of the hyperlink; the document that contains the a href is the source anchor.]
hrefa element represents an anchor. Please note that this anchor has inherited all styles
assigned in the CSS.
This paragraph is text for the target (destination) end of a this hyperlink: href.
<a id="r1">This a element represents an anchor. Please note that this anchor has inherited »
all styles assigned in the CSS.</a>
<p><a href="http://www.w3.org/TR/html5/history.html#attr-hyperlink-href">This »
paragraph is text for the target (destination) end of a this hyperlink: <code>href</code>.</a></p>
![]()
<p><img src="/images/alphabets/alphabet-nicholas-small_Z.png" alt="" width="23" »
height="25" usemap="#vague_Alphabet_block_Map"></p>
<map name="vague_Alphabet_block_Map" id="vague_Alphabet_block_Map">
<area shape="rect" alt="Confirmation page of your visit with an Egress" »
coords="0,0,25,23" href="/confirmation" title="Confirmation page of your »
visit with an Egress">
</map>
The Elementary Standards: A Compendium of articles, tutorials and reference material regarding Web Standards, HTML and CSS Copyright ©2005-2010. All work is published by Sean Fraser under a Creative Commons License. All Rights Reserved.