HTML and CSS Reference
In-Depth Information
<link> (Link to External Files or Set Relationships)
This empty element found in the head element specifies relationships between the current
document and other documents. Possible uses for this element include defining a relational
framework for navigation and linking the document to a style sheet.
Standard Syntax
<link
charset="charset list from RFC 2045"
class="class name(s)"
dir="ltr | rtl"
href="URL"
hreflang="language code"
id="unique alphanumeric identifier"
lang="language code"
media="all | aural | braille | print | projection |
screen | other"
rel="relationship value"
rev="relationship value"
style="style information"
target="frame name" (transitional only)
title="advisory information or relationship specific duty"
type="MIME type">
Other Common Attributes
disabled="disabled" (from DOM Level 1)
name="unique name" (IE 4+)
Attributes Introduced by HTML5
accesskey="spaced list of accelerator key(s)"
contenteditable="true | false | inherit"
contextmenu="id of menu"
data-X="user-defined data"
draggable="true | false | auto"
hidden="hidden"
itemid="microdata id in URL format"
itemprop="microdata value"
itemref="space-separated list of IDs that may contain microdata"
itemscope="itemscope"
itemtype="microdata type in URL format"
sizes="any or list of space-separated sizes of form Val x Val "
spellcheck="true | false"
tabindex="number"
HTML 4 Event Attributes
onclick, ondblclick, onkeydown, onkeypress, onkeyup, onmousedown,
onmousemove, onmouseout, onmouseover, onmouseup
Search WWH ::




Custom Search