Links
Home
Email
<LINK>
Description:
The <LINK> tag is designed to define a relationship between documents. It may only appear in the <HEAD> section. You may have as many as you desire. Its job is to give information which various user agents (browsers and robots) may use. For example, one <LINK> attribute defines an icon to be used in favorites, and this is used by Internet Explorer and Mozilla.
Attributes:
| charset = characterset | |||||||||||||||||||||||||||||
| Specifies the character encoding of the resource indicated by HREF. | |||||||||||||||||||||||||||||
| dir=direction | |||||||||||||||||||||||||||||
| Indicates the language of the text in the <LINK>. | |||||||||||||||||||||||||||||
| href = url | |||||||||||||||||||||||||||||
| The location of the resource. | |||||||||||||||||||||||||||||
| hreflang = "lang" | |||||||||||||||||||||||||||||
| The language of the linked page. | |||||||||||||||||||||||||||||
| id = "name" | |||||||||||||||||||||||||||||
| You can give an LINK a name, which allows it to be referenced and changed in a script (dynamic HTML). | |||||||||||||||||||||||||||||
| lang="lang" | |||||||||||||||||||||||||||||
| Indicates the language of the text within the <LINK>. | |||||||||||||||||||||||||||||
| Media | |||||||||||||||||||||||||||||
| Indicates an alternate media associated with the document. | |||||||||||||||||||||||||||||
| rel = "type" | |||||||||||||||||||||||||||||
| Link forward of the current page. The value "type" can be one of the following:
Indicates how to measure the units.
| |||||||||||||||||||||||||||||
| rev = "type" | |||||||||||||||||||||||||||||
| Link behind of the current page. This would be corresponding to "prev". | |||||||||||||||||||||||||||||
| target = "targetwindow" | |||||||||||||||||||||||||||||
| This attribute loads the document indicated by HREF into the window as indicated by "targetwindow". | |||||||||||||||||||||||||||||
Examples:
<HEAD> <TITLE>Chapter 2</TITLE> <LINK rel="Index" href="http://www.internet-tips.net/index.asp"> <LINK rel="Next" href="Chapter3.html"> <LINK rel="Prev" href="Chapter1.html"> </HEAD> |
Defines the "index", "next" and "prev" documents. (Example borrowed from W3C HTML 4.01 specification)
<LINK title="The manual in Dutch"
type="text/html"
rel="alternate"
hreflang="nl"
href="http://someplace.com/manual/dutch.html">
<LINK title="The manual in Portuguese"
type="text/html"
rel="alternate"
hreflang="pt"
href="http://someplace.com/manual/portuguese.html">
<LINK title="The manual in Arabic"
type="text/html"
rel="alternate"
charset="ISO-8859-6"
hreflang="ar"
href="http://someplace.com/manual/arabic.html">
<LINK lang="fr" title="La documentation en Français"
type="text/html"
rel="alternate"
hreflang="fr"
href="http://someplace.com/manual/french.html">
|
Defines the "index", "next" and "prev" documents. (Example borrowed from W3C HTML 4.01 specification)
Internet Tips Contents
404 Errors
Advertising
Autoresponse
Awardmaster
Basics
Browsers
Careers
Chatting
Disasters
Domains
Email
Emoticons
Ezines
Free Stuff
Fun Stuff
FTP
Graphics
Homepages
HTML Reference
HTML Tutorial
Interactive
Legal
Links
Msg Boards
Microsoft
Money
Multimedia
Networks
Newsgroups
Newsletter
Products
RFC's
Ringmaster
Searches
Security
Sticky Sites
Surfing
TANSTAAFL
Telnet
Viral
Webmaster
Your System