Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are other uses for the <link /> tag? [duplicate]

Tags:

html

Possible Duplicate:
What does <link> tag do besides including stylesheets?

<link rel="stylesheet" type="text/css" href="example.css" />

With the link tag we can define a relationship type and mime type, but I've never seen it done. What are some examples of real uses for the other rel attributes? What sort of support issues exist?

I'm not sure what we can and cannot do with this tag, how the browser deals with it, etc...

From my own playing around, it looks like I can't read any of the called data via JavaScript, but the browser still deals with the content.

like image 524
Incognito Avatar asked Nov 05 '10 15:11

Incognito


1 Answers

RSS:

<link rel="alternate" type="application/rss+xml" title="RSS FEED" href="/RSS" />

FAVICON:

<link rel="shortcut icon" href="/favicon.ico">

iPHONE/iPAD ICON:

<link rel="apple-touch-icon" href="/apple-touch-icon.png">

SEARCH:

<link rel="search" type="application/opensearchdescription+xml" title="" href="/search.xml">

I am sure there are an infinate number of proprietary uses for this.

like image 200
Dustin Laine Avatar answered Oct 21 '22 23:10

Dustin Laine