class HTMLLinkElement

The <code> LINK </code> element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). More...

Full nameDOM::HTMLLinkElement
Definition#include <html_head.h>
InheritsDOM::HTMLElement
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

The <code> LINK </code> element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#edef-LINK"> LINK element definition </a> in HTML 4.0.

bool  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 )

see disabled

DOMString  charset ()

[const]

The character encoding of the resource being linked to. See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-charset"> charset attribute definition </a> in HTML 4.0.

void  setCharset ( const DOMString & )

see charset

DOMString  href ()

[const]

The URI of the linked resource. See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-href"> href attribute definition </a> in HTML 4.0.

void  setHref ( const DOMString & )

see href

DOMString  hreflang ()

[const]

Language code of the linked resource. See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-hreflang"> hreflang attribute definition </a> in HTML 4.0.

void  setHreflang ( const DOMString & )

see hreflang

DOMString  media ()

[const]

Designed for use with one or more target media. See the <a href="http://www.w3.org/TR/REC-html40/present/styles.html#adef-media"> media attribute definition </a> in HTML 4.0.

void  setMedia ( const DOMString & )

see media

DOMString  rel ()

[const]

Forward link type. See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rel"> rel attribute definition </a> in HTML 4.0.

void  setRel ( const DOMString & )

see rel

DOMString  rev ()

[const]

Reverse link type. See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-rev"> rev attribute definition </a> in HTML 4.0.

void  setRev ( const DOMString & )

see rev

DOMString  target ()

[const]

Frame to render the resource in. See the <a href="http://www.w3.org/TR/REC-html40/present/frames.html#adef-target"> target attribute definition </a> in HTML 4.0.

void  setTarget ( const DOMString & )

see target

DOMString  type ()

[const]

Advisory content type. See the <a href="http://www.w3.org/TR/REC-html40/struct/links.html#adef-type-A"> type attribute definition </a> in HTML 4.0.

void  setType ( const DOMString & )

see type


Generated by: ssk@tauon.ph.unimelb.EDU.AU on Wed May 23 05:55:52 2001, using kdoc 2.0a35.