Mark Wilson I am the creator of TopXML. I am available for international and local (Australia) contracts. I am a Solution Architect/Business Analyst. I have worked in IT in several countries (NZ, Australia, South Africa, UK) building and training teams for government and very large non-governmental organizations. I am ex-Microsoft Consulting Services. I wrote the first book on Microsoft XML published in 2000 called XML Programming with VB and ASP. Most recently I have been building tools for the SEO industry. Ask me for a 37 point SEO health-checkup for your website.
First posted :
03/24/2008
Times viewed :
5968
The <link> Tag (XHTML Reference)
Introduction
Note that the <link> tag is not the same as the
clickable <a> link tag! The <link> tag defines a relationship
between documents. For example you can include a css style sheet with the help
of the <link> tag or you can logically create a navigation menu for the
“next”, “previous” pages. The link tag is usually included in the <head>
section and you can include as many as <link> tags you like.
Defines the character coding of the target url or writes a
page on charset.
href
Target URL.
Can be any internet address which starts with: http, ftp, telnet, mailto,
etc.
hreflang
Defines the language. You have to provide the language
code. Here are some codes:
de = German
en = English
en-us = English (USA)
en-uk = English (UK)
es = Spanish
fr = French
it = Italian
media
Media is the medium on which the document will be shown.
It can one of the following options:
All
Braille
Print
Projection
Screen
Speech
target
Target Frame to load the page into. Can be one of the
following:
_blank = new window
_self = same window
_parent = parent window
_top = url will be opened in full body of the window
type
This specifies the mime type of the target URL. Here are
few of them:
text/css = used to implement style sheets
text/javascript = used to implement a javascript file
image/gif = used to implement an image
Logical references to target for rel/rev:
With the attribute rel (relationship) you can specify a
relationship to the target. The rev attribute (reverse) specifies a reverse
link from the target document to the current document. These attributes are
used by search engines to provide a linked navigation menu. Both attributes can
have one of the following values: