Link  - <LINK>

Previous- LI - List Item  |  Next-LISTING - Fixed-width type

Description
This element defines a link. Unlike <A>, it may only appear in the HEAD section of a document, although it may appear any number of times. Although LINK has no content, it conveys relationship information that may be rendered by user agents in a variety of ways (e.g., a tool-bar with a drop-down menu of links) or a link to a cascading style sheet which is referred to in the document.
Attributes
NameValuesDescription
aligntop|middle|bottomAlignment
classclassnameClass of the element which is used to associate the element with a style sheet.
dirltr|rtlThe direction in which text flows when surrounded by text which flows in different directions.
disabled
event_namescript_codeDefines script to run on event such as OnMouseOver
hrefurlAnchor reference as a URL.
hreflanglangcodeBase language of the resource designated by HREF. Can only be used when HREF is also defined.
idstringA unique name to identify an element.
langlanguage_typeThe ISO description for the language of the element.
mediascreen|print|projection|braille|speech|allDetermines which output device the document will use (screen, printer, projection, Braille, speech or all).
methodsstringNew for HTML 4.0, this indicates the functions which a user can carry out on an object.
relsame|next|parent|previous|stringThe forward relationship between the current document and the one specified in the HREF tag.
revstringReverse relationship.
stylestringSpecifies style information for the element.
targetwindow_name|_parent|_blank|_top|_selfWindow or frame where the new page should be loaded.
titlestringTitle for element which is often displayed as a tool-tip when the cursor hovers over the element.
typemime-typeMime-type
urnstringUniform Resource Name for the target document. New for HTML 4.0

Example
<link rel="stylesheet" type="text/css" href="/mystylesheet.css">
This example can not be displayed.
Compatability
HTMLNETSCAPEINTERNET EXPLORER
4.1N2N3N4N6IE3IE4IE5IE6
YES NO YES YES YES YES YES YES YES

Previous- LI - List Item  |  Next-LISTING - Fixed-width type