Question about <LINK REL="...> tags

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
GM
Forum Contributor
Posts: 365
Joined: Wed Apr 26, 2006 4:19 am
Location: Italy

Question about <LINK REL="...> tags

Post by GM »

I was having a look at the source of this site, and I noticed this:

Code: Select all

...
<link rel="prev" href="viewtopic.php?t=51902&view=previous" title="View previous topic" />
<link rel="next" href="viewtopic.php?t=51902&view=next" title="View next topic" />
<link rel="up" href="viewforum.php?f=1" title="PHP - Code" />
<link rel="chapter forum" href="viewforum.php?f=6" title="General Discussion" />
<link rel="chapter forum" href="viewforum.php?f=20" title="Site News" />
<link rel="chapter forum" href="viewforum.php?f=7" title="Suggestions" />
...
in the <HEAD>

Can someone please explain what they are for? I've had a look around, but I can't find any explanation of why they should be used, or what they actually do...

Cheers,

GM
User avatar
JayBird
Admin
Posts: 4524
Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:

Post by JayBird »

GM
Forum Contributor
Posts: 365
Joined: Wed Apr 26, 2006 4:19 am
Location: Italy

Post by GM »

Thanks for the link - it explains nicely what the various types of LINKs are... but not what they are for... For instance: "Chapter - Specifies the Chapter of a collection of documents". Ok, now, what's a chapter (in the HTML sense), and why do I need to specify it on the page?

What are the advantages of including these LINKs in the web page? Is there some performace gain? Do these links get preloaded or something?
Post Reply