martin2k

The LINK Tag

HomeForumTutorials Tags:
 
 

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>


Please fill in the below form if you have any comments or additional information you want to add about the above information.  If you have any questions, please visit the ForumAny questions sent using this form will be ignored.

* - Mandatory

*Name: E-mail:

*Comments:

*Please type the following code (your comment cannot be accepted without it):


© Martin Allen 1999 - 2006.  Last updated Thursday 09 November 2006 10:04:43 PM -0000.