<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Free Xenon Consulting &#187; Link Element</title>
	<atom:link href="http://www.freexenon.com/tag/link-element/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freexenon.com</link>
	<description>PSD or Image to Site with Accessibility Built In</description>
	<lastBuildDate>Mon, 17 May 2010 15:59:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Usage of the Link Element</title>
		<link>http://www.freexenon.com/2009/10/19/usage-of-the-link-element/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=usage-of-the-link-element</link>
		<comments>http://www.freexenon.com/2009/10/19/usage-of-the-link-element/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 14:50:00 +0000</pubDate>
		<dc:creator>FreeXenon</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Link Element]]></category>

		<guid isPermaLink="false">http://www.fx.serenitystudios.com/?p=11</guid>
		<description><![CDATA[I originally published  this about November 20, 2005 but I think that I will republish it. , I think, and thought I would publish it as it is. 
The &#60;link&#62; element provides context by providing links to other pages in the collection and shows how they are related to the current page. Here is a [...]]]></description>
			<content:encoded><![CDATA[<p><em>I originally published  this about November 20, 2005 but I think that I will republish it. , I think, and thought I would publish it as it is. </em></p>
<p>The <a title="W3C's description of the Link Element from the HTML 4.01 Spec " href="http://www.w3.org/TR/html4/struct/links.html#h-12.3">&lt;link&gt; element</a> provides context by providing links to other pages in the collection and shows how they are related to the current page. Here is a quote fron the HTML 4.01 Spec that is echoed in the other specs and I have emphasized the important part:</p>
<blockquote id="HTML401_LinkElement" cite="http://www.w3.org/TR/html4/struct/links.html#h-12.3"><p>This element defines a link. Unlike <samp>A</samp>, it may only appear in the <samp>HEAD</samp> section of a document, although it may appear any number of times. Although LINK has no content,<strong> it conveys relationship information that may be rendered by user agents in a variety of ways</strong> (e.g., a tool-bar with a drop-down menu of links).</p></blockquote>
<p>There are quite a few options that we can set for a webpage. The one drawback to using the &lt;link&gt; element is that it is not supported by or easily accessible in all browsers. Because of this we cannot count on the &lt;link&gt; tag. Just remember that this is out there and that as standards, development skills, and the <a title="Link to WDF's article on Semantic Design" href="http://www.blogger.com/swsd.htm">semantic web</a> evolve the &lt;link&gt; tag will become much more prevalent and useful for setting the context of a webpage. Some progressive websites do use this and it is a boon to accessibility, but for now just keep this in mind (and use it) Here is a list of some of the commonly used link types that can be set:</p>
<blockquote cite="http://www.w3.org/TR/xhtml-modularization/abstraction.html#dt_LinkTypes"><dl id="LinkTypes">
<dt id="LinkTypes_Start">Start</dt>
<dd>Refers to the first document in a collection of documents. This link type tells search engines which document is considered by the author to be the starting point of the collection.</dd>
<dt id="LinkTypes_Next">Next</dt>
<dd>Refers to the next document in a linear sequence of documents. User agents may choose to pre-load the &#8220;next&#8221; document, to reduce the perceived load time.</dd>
<dt id="LinkTypes_Prev">Prev</dt>
<dd>Refers to the previous document in an ordered series of documents. Some user agents also support the synonym &#8220;Previous&#8221;.</dd>
<dt id="LinkTypes_Contents">Contents</dt>
<dd>Refers to a document serving as a table of contents. Some user agents also support the synonym ToC (from &#8220;Table of Contents&#8221;).</dd>
<dt id="LinkTypes_Chapter">Chapter</dt>
<dd>Refers to a document serving as a chapter in a collection of documents.</dd>
<dt id="LinkTypes_Section">Section</dt>
<dd>Refers to a document serving as a section in a collection of documents.</dd>
</dl>
</blockquote>
<p>By using the Link element there are quite a few ways that you can set the context for a webpage. All are not supported by all user agents and there are more options for links than are listed here. They even go so far as the say that you may create your own values for the rel attribute. A very rich and extensive relationship set can be created for an individual page. A large listing of relationships used can be found on <a href="http://fantasai.tripod.com/qref/Appendix/LinkTypes/alphindex.html">this Tripod Page</a>. Here is a simple example of their use:</p>
<pre><code id="LinkExample-Basic">&lt;head&gt;
 &lt;title&gt;Types of Flowers - The Flower Guide - www.flowerguide,com&lt;/title&gt;
 &lt;link rel="start" src="index.htm"     title= "The Flower Guide Home"  /&gt;
 &lt;link rel="next"  src="arranging.htm" title= "Next page: Arranging Flowers" /&gt;
 &lt;link rev="prev"  src="arranging.htm" /&gt;
 &lt;link rel="prev"  src="buying.htm"    title= "Previous page: Buying Flowers" /&gt;
 &lt;link rev="next"  src="buying.htm" /&gt;
&lt;/head&gt;</code></pre>
<p>By this simple example we can see that the current page&#8217;s topic is &#8216;Types of Flowers&#8217; and the start page is index.htm. It has a page that preceeds and succeeds it and their reverse relationships are also set. With this example we have set how 4 pages in the (topical) collection relate to each other.</p>
<h3 id="Links-ToSee">To See Or Not To See (The Link)</h3>
<p>Opera, Mozilla, iCab (Mac), and Lynx browsers and some Screen Readers show these link elements for you to use. Internet Explorer and Firefox and Netscape (Mozilla) need an add-on for this to be visible (<abbr title="Internet Explorer">IE</abbr>: <a title="Download the Link Navigation Bar for Internet Explorer" href="http://www.draig.de/LinkBar/">Link Toolbar</a>; Netscape or Firefox: <a title="Download a Link toolbar from cdn.MozDev" href="http://cdn.mozdev.org/linkToolbar/">Link Toolbar</a> or <a title="Download the Link Toolbar from Extension Room on MozDev" href="http://extensionroom.mozdev.org/more-info/linktoolbar">Link Toolbar</a>). Here are list of methods to show a Link Navigation Bar in browsers that natively support it:</p>
<ul>
<li>In the latest release of Mozilla (1.8A1) you can go to View -&gt; Show/Hide -&gt; Site Navigation Bar</li>
<li>In the latest release of Opera (8.0) you can go to View -&gt; Tool Bars-&gt; Navigation Bar</li>
</ul>
<h3 id="Links-ReadMore">Read More</h3>
<p>Check the following articles:</p>
<ul>
<li><a href="http://www.w3.org/QA/Tips/use-links">Use &lt;link&gt;s in your document</a> from W3C&#8217;s Tips</li>
<li><a href="http://www.wats.ca/articles/extendinglinkrelationships/53">Changing the Scope of Link Relationships</a> from wats.ca</li>
<li><a href="http://www.wats.ca/articles/missinglink/49">The Missing &lt;Link&gt; in the World Wide Web</a> from wats.ca</li>
<li><a href="http://www.subotnik.net/html/link.html.en"> The &#8216;link&#8217;-Element in (X)HTML</a> from Subotnik</li>
<li><a href="http://www.google.com/search?hl=en&amp;lr=lang_en&amp;amp;q=%22link+element%22+navigation&amp;btnG=Search">Google&#8217;d Articles</a> from Google</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.freexenon.com/2009/10/19/usage-of-the-link-element/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

