DOM::HTMLLinkElement Class Reference
The LINK
element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
More...
#include <html_head.h>
Inheritance diagram for DOM::HTMLLinkElement:

Public Methods | |
HTMLLinkElement & | operator= (const Node &other) |
bool | disabled () const |
Enables/disables the link. | |
void | setDisabled (bool) |
see disabled | |
DOMString | charset () const |
The character encoding of the resource being linked to. | |
void | setCharset (const DOMString &) |
see charset | |
DOMString | href () const |
The URI of the linked resource. | |
void | setHref (const DOMString &) |
see href | |
DOMString | hreflang () const |
Language code of the linked resource. | |
void | setHreflang (const DOMString &) |
see hreflang | |
DOMString | media () const |
Designed for use with one or more target media. | |
void | setMedia (const DOMString &) |
see media | |
DOMString | rel () const |
Forward link type. | |
void | setRel (const DOMString &) |
see rel | |
DOMString | rev () const |
Reverse link type. | |
void | setRev (const DOMString &) |
see rev | |
DOMString | target () const |
Frame to render the resource in. | |
void | setTarget (const DOMString &) |
see target | |
DOMString | type () const |
Advisory content type. | |
void | setType (const DOMString &) |
see type | |
StyleSheet | sheet () const |
Introduced in DOM Level 2 This method is from the LinkStyle interface. |
Detailed Description
The LINK
element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).
See the LINK element definition in HTML 4.0.
Definition at line 102 of file html_head.h.
Member Function Documentation
|
Enables/disables the link. This is currently only used for style sheet links, and may be used to activate or deactivate style sheets. Definition at line 111 of file html_head.cpp. |
|
see disabled
Definition at line 117 of file html_head.cpp. |
|
The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.0. Definition at line 123 of file html_head.cpp. |
|
see charset
Definition at line 129 of file html_head.cpp. |
|
The URI of the linked resource. See the href attribute definition in HTML 4.0. Definition at line 134 of file html_head.cpp. |
|
see href
Definition at line 140 of file html_head.cpp. |
|
Language code of the linked resource. See the hreflang attribute definition in HTML 4.0. Definition at line 145 of file html_head.cpp. |
|
see hreflang
Definition at line 151 of file html_head.cpp. |
|
Designed for use with one or more target media. See the media attribute definition in HTML 4.0. Definition at line 156 of file html_head.cpp. |
|
see media
Definition at line 162 of file html_head.cpp. |
|
Forward link type. See the rel attribute definition in HTML 4.0. Definition at line 167 of file html_head.cpp. |
|
see rel
Definition at line 173 of file html_head.cpp. |
|
Reverse link type. See the rev attribute definition in HTML 4.0. Definition at line 178 of file html_head.cpp. |
|
see rev
Definition at line 184 of file html_head.cpp. |
|
Frame to render the resource in. See the target attribute definition in HTML 4.0. Definition at line 189 of file html_head.cpp. |
|
see target
Definition at line 195 of file html_head.cpp. |
|
Advisory content type. See the type attribute definition in HTML 4.0. Definition at line 200 of file html_head.cpp. |
|
see type
Definition at line 206 of file html_head.cpp. |
|
Introduced in DOM Level 2 This method is from the LinkStyle interface. The style sheet. Definition at line 211 of file html_head.cpp. |
The documentation for this class was generated from the following files: