Name
Link
Description
This tag defines links to related documents. It is used in the HEAD
section.
Its main use is to specify what style sheet or style
sheets
are used by the document.
Attributes
HREF
Specifies the URL to link to. To link to a file on the same site use
the local path e.g. href="index.html" or href="folder/contents.html".
You can also use dots to link to a document in the parent folder e.g. href="..\document.html".
To link to another site, use the full URL e.g.: href="http://www.martin2k.co.uk".
REL
Specifies the type of document that is linked to. The following values
are valid:
| alternate |
| appendix |
| bookmark |
| chapter |
| contents |
| copyright |
| glossary |
| help |
| home |
| index |
| next |
| prev |
| section |
| start |
| stylesheet |
| subsection |
TYPE
Specifies the MIME type of the related document. The following values
are valid:
| MIME_type like: |
| text/css |
| text/javascript |
| image/gif |
Example
Code
<head>
<link rel="STYLESHEET" href="html.css" type="text/css">
</head>
© Martin Allen 1999 - 2006. Last updated Thursday 09 November 2006 10:04:43 PM -0000.
|