Published in Brighton, UK

Clagnut

Linkorama

Thanks to Mark Pilgrim’s indispensable Dive Into Accessibility [a must read for every web designer with or without a semblance of moral fibre. Remember kids: accessible is the new grey. Or something] I have rediscovered the long-forgotten link tag.

The link tag is used to point at a linked resource and nowadays is pretty much limited to pointing to style sheets, and more recently XML versions. But those of you who learned your HTML a good few years ago may remember link mentioned with examples such as this:

<link rel="Next" href="sect4.html">

And if you were anything like me, you had no idea how this could be applied to the real world; no browser seemed to support it. Well that has now changed. As of version 1.1, Mozilla supports all of the recognized link types in an extremely useful way.

To see how, you’ll first need to turn this feature on with View > Show/Hide > Site Navigation Bar > Show Always. If you then go to a W3C page, most of which use plenty of link tags, you’ll see something like:

Screenshot of Mozilla's implementation of the link tag.

As you can see, this enables you to navigate through multiple file documents very easily with next, previous and table of contents links shown in a browser toolbar. Mozilla is not the only browser to support this feature; iCab and text readers such as Lynx & Links also provide good support. This is important to genuinely improve the accessibility of your web site.

Like most things on the Web, the link tag was designed to aid navigation of conventionally structured documents such as reports, books and W3C Recommendations. And that includes web logs. Consider implementing these recognized link types:

  • rel="start" to link to your home page
  • rel="next" for the next entry in your blog
  • rel="prev" for the previous entry in your blog
  • rel="help" to link to an Accessibility Statement or your About page
  • rel="search" to link to your search page

You can make these even more useful with the addition of title attributes. Check the source of clagnut for examples of real-world implementation.

29 September 2002

§ Blogging · Web standards · Browsers · Accessibility

5 comments

Next

Previous

Related posts

Keywords

Machine tags

Comments

  1. 1

    link tag was supported in mozilla long before version 1.1, i suppose ;-)

    MiMaS
    MiMaS’s Gravatar
    3 Oct 2002
    07:04 GMT
  2. 2

    As I understand it, the site navigation bar in Mozilla was introduced in
    0.9.5, removed in 1.0 (due to performance issues) and reintroduced in
    version 1.1.

    Rich
    Rich’s Gravatar
    3 Oct 2002
    09:00 GMT
  3. 3

    Opera 7.x also supports this feature

    Tomek
    12 Oct 2004
    13:03 GMT
  4. 4

    Is there an extension for Firefox that does the same thing as the Site Navigation Bar that Mozilla and Opera have?

    I believe Firefox doesn’t have this bar implemented at the moment.

    RSZdesign
    RSZdesign’s Gravatar
    21 Feb 2005
    09:40 GMT
  5. 5

    Is there an extension for Firefox that does the same thing as the Site Navigation Bar

    Yes there is. It’s the Link Toolbar extension and sits snugly in the status bar.

    Rich
    Rich’s Gravatar
    21 Feb 2005
    10:06 GMT

Add your comment

Comments are now closed on this post. If you have more to say please contact me directly.

Outside interest

Top Referrers