| Relationship values can be used in principle: a) for document specific toolbars/menus when used with the link element in document head e.g. start, contents, previous, next, index, end, help b) to link to a separate style sheet (rel="stylesheet") c) to make a link to a script (rel="script") d) by stylesheets to control how collections of html nodes are rendered into printed documents e) to make a link to a printable version of this document e.g. a PostScript or PDF version (rel="alternate" media="print") | 

| QName | Type | Fixed | Default | Use | Inheritable | Annotation | |
|---|---|---|---|---|---|---|---|
| charset | Charset | optional | |||||
| class | xs:NMTOKENS | optional | |||||
| dir | restriction of xs:token | optional | |||||
| href | URI | optional | |||||
| hreflang | LanguageCode | optional | |||||
| id | xs:ID | optional | |||||
| lang | LanguageCode | optional | |||||
| media | MediaDesc | optional | |||||
| onclick | Script | optional | |||||
| ondblclick | Script | optional | |||||
| onkeydown | Script | optional | |||||
| onkeypress | Script | optional | |||||
| onkeyup | Script | optional | |||||
| onmousedown | Script | optional | |||||
| onmousemove | Script | optional | |||||
| onmouseout | Script | optional | |||||
| onmouseover | Script | optional | |||||
| onmouseup | Script | optional | |||||
| rel | LinkTypes | optional | |||||
| rev | LinkTypes | optional | |||||
| style | StyleSheet | optional | |||||
| target | FrameTarget | optional | |||||
| title | Text | optional | |||||
| type | ContentType | optional | |||||
| xml:lang | union of(xs:language, restriction of xs:string) | optional | 
 | 
| Element Group | head.misc | 
| <xs:element name="link"> <xs:annotation> <xs:documentation>Relationship values can be used in principle: a) for document specific toolbars/menus when used with the link element in document head e.g. start, contents, previous, next, index, end, help b) to link to a separate style sheet (rel="stylesheet") c) to make a link to a script (rel="script") d) by stylesheets to control how collections of html nodes are rendered into printed documents e) to make a link to a printable version of this document e.g. a PostScript or PDF version (rel="alternate" media="print")</xs:documentation> </xs:annotation> <xs:complexType> <xs:attributeGroup ref="attrs"/> <xs:attribute name="charset" type="Charset"/> <xs:attribute name="href" type="URI"/> <xs:attribute name="hreflang" type="LanguageCode"/> <xs:attribute name="type" type="ContentType"/> <xs:attribute name="rel" type="LinkTypes"/> <xs:attribute name="rev" type="LinkTypes"/> <xs:attribute name="media" type="MediaDesc"/> <xs:attribute name="target" type="FrameTarget"/> </xs:complexType> </xs:element> |