Version-//W3C//DTD HTML 4.01//EN
ElementLINK
Purposelink from this document
DescriptionThe LINK element identifies relationships among documents. For example: authorship, related indexes, glossaries, older or more recent versions, document hierarchy, associated resources such as style sheets, etc.

The attribute rel identifies the relationship the document containing LINK has with the document identified in the href attribute of the LINK element. Conversely, attribute rev identifies the relationship between the document identified in the href attribute and the document containing the LINK element. The link element is how you connect Style Sheets to your HTML document.

For example:

<LINK Rel="stylesheet" 
      Href="http://www.myplace.com/style.css" 
      Type="text/css">
<LINK Rev="made" Href="mailto:john@december.com">
Start tagRequired <LINK>
Attributes
NameTypeDefaultComment
charset CDATA #IMPLIEDa character encoding; char encoding of linked resource
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
href CDATA #IMPLIEDUniform Resource Identifier as per RFC2396; a Uniform Resource Locator (URL) is a URI; URI for linked resource
hreflang NAME #IMPLIEDlanguage code as RFC1766; language code
idID#IMPLIEDdocument-wide unique id
lang NAME #IMPLIEDlanguage code as RFC1766; language code
media CDATA #IMPLIEDsingle or comma-separated list of media descriptors; for rendering on these media
onclick CDATA #IMPLIEDscript expression; a pointer button was clicked
ondblclick CDATA #IMPLIEDscript expression; a pointer button was double clicked
onkeydown CDATA #IMPLIEDscript expression; a key was pressed down
onkeypress CDATA #IMPLIEDscript expression; a key was pressed and released
onkeyup CDATA #IMPLIEDscript expression; a key was released
onmousedown CDATA #IMPLIEDscript expression; a pointer button was pressed down
onmousemove CDATA #IMPLIEDscript expression; a pointer was moved within
onmouseout CDATA #IMPLIEDscript expression; a pointer was moved away
onmouseover CDATA #IMPLIEDscript expression; a pointer was moved onto
onmouseup CDATA #IMPLIEDscript expression; a pointer button was released
rel CDATA #IMPLIEDspace-separated list of link types; forward link types
rev CDATA #IMPLIEDspace-separated list of link types; reverse link types
style CDATA #IMPLIEDstyle sheet data; associated style info
title CDATA #IMPLIEDtext; advisory title
type CDATA #IMPLIEDmedia type; advisory content type
ContentEMPTY
End tagForbidden
Referenced in HEAD TITLE
search Search · star Market
2023-06-19 · John December · Terms © johndecember.com