class HTMLLinkElement

# class HTMLLinkElement | The `LINK` element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). More...
Full name | `DOM::HTMLLinkElement`
Definition | `#include <html_head.h>`
Inherits | DOM::HTMLElement [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- HTMLLinkElement ()
- HTMLLinkElement (const HTMLLinkElement &other)
- HTMLLinkElement (const Node &other)
- HTMLLinkElement & operator = (const HTMLLinkElement &other)
- HTMLLinkElement & operator = (const Node &other)
- ~HTMLLinkElement ()
- bool disabled () const
- void setDisabled ( bool )
- DOMString charset () const
- void setCharset ( const DOMString & )
- DOMString href () const
- void setHref ( const DOMString & )
- DOMString hreflang () const
- void setHreflang ( const DOMString & )
- DOMString media () const
- void setMedia ( const DOMString & )
- DOMString rel () const
- void setRel ( const DOMString & )
- DOMString rev () const
- void setRev ( const DOMString & )
- DOMString target () const
- void setTarget ( const DOMString & )
- DOMString type () const
- void setType ( const DOMString & )
- StyleSheet sheet () const

#### Protected Methods

- HTMLLinkElement (HTMLLinkElementImpl *impl)

## 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.

HTMLLinkElement () | ### HTMLLinkElement

HTMLLinkElement (const HTMLLinkElement &other) | ### HTMLLinkElement

HTMLLinkElement (const Node &other) | ### HTMLLinkElement

HTMLLinkElement (HTMLLinkElementImpl *impl) | ### HTMLLinkElement

[protected]

HTMLLinkElement & operator = (const HTMLLinkElement &other) | ### operator =

Reimplemented from HTMLElement.

HTMLLinkElement & operator = (const Node &other) | ### operator =

Reimplemented from HTMLElement.

~HTMLLinkElement () | ### ~HTMLLinkElement

bool disabled () | ### disabled

[const]

Enables/disables the link. This is currently only used for style sheet links, and may be used to activate or deactivate style sheets.

void setDisabled ( bool ) | ### setDisabled

see disabled

DOMString charset () | ### charset

[const]

The character encoding of the resource being linked to. See the charset attribute definition in HTML 4.0.

void setCharset ( const DOMString & ) | ### setCharset

see charset

DOMString href () | ### href

[const]

The URI of the linked resource. See the href attribute definition in HTML 4.0.

void setHref ( const DOMString & ) | ### setHref

see href

DOMString hreflang () | ### hreflang

[const]

Language code of the linked resource. See the hreflang attribute definition in HTML 4.0.

void setHreflang ( const DOMString & ) | ### setHreflang

see hreflang

DOMString media () | ### media

[const]

Designed for use with one or more target media. See the media attribute definition in HTML 4.0.

void setMedia ( const DOMString & ) | ### setMedia

see media

DOMString rel () | ### rel

[const]

Forward link type. See the rel attribute definition in HTML 4.0.

void setRel ( const DOMString & ) | ### setRel

see rel

DOMString rev () | ### rev

[const]

Reverse link type. See the rev attribute definition in HTML 4.0.

void setRev ( const DOMString & ) | ### setRev

see rev

DOMString target () | ### target

[const]

Frame to render the resource in. See the target attribute definition in HTML 4.0.

void setTarget ( const DOMString & ) | ### setTarget

see target

DOMString type () | ### type

[const]

Advisory content type. See the type attribute definition in HTML 4.0.

void setType ( const DOMString & ) | ### setType

see type

StyleSheet sheet () | ### sheet

[const]

Introduced in DOM Level 2 This method is from the LinkStyle interface

The style sheet.

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:43 2003, using kdoc 2.0a54.