.TH "DOM::HTMLLinkElement" 3 "28 Jan 2004" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::HTMLLinkElement \- The \fC LINK \fP element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa).  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <html_head.h>\fP
.PP
Inherits \fBDOM::HTMLElement\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLLinkElement\fP (const  \fBHTMLLinkElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLLinkElement\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBHTMLLinkElement\fP & \fBoperator=\fP (const  \fBHTMLLinkElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLLinkElement\fP & \fBoperator=\fP (const  \fBNode\fP &other)"
.br
.ti -1c
.RI "bool \fBdisabled\fP () const "
.br
.RI "\fIEnables/disables the link. \fP"
.ti -1c
.RI "void \fBsetDisabled\fP (bool)"
.br
.RI "\fIsee \fBdisabled\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBcharset\fP () const "
.br
.RI "\fIThe character encoding of the resource being linked to. \fP"
.ti -1c
.RI "void \fBsetCharset\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBcharset\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBhref\fP () const "
.br
.RI "\fIThe URI of the linked resource. \fP"
.ti -1c
.RI "void \fBsetHref\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBhref\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBhreflang\fP () const "
.br
.RI "\fILanguage code of the linked resource. \fP"
.ti -1c
.RI "void \fBsetHreflang\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBhreflang\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBmedia\fP () const "
.br
.RI "\fIDesigned for use with one or more target media. \fP"
.ti -1c
.RI "void \fBsetMedia\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBmedia\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBrel\fP () const "
.br
.RI "\fIForward link type. \fP"
.ti -1c
.RI "void \fBsetRel\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBrel\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBrev\fP () const "
.br
.RI "\fIReverse link type. \fP"
.ti -1c
.RI "void \fBsetRev\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBrev\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBtarget\fP () const "
.br
.RI "\fIFrame to render the resource in. \fP"
.ti -1c
.RI "void \fBsetTarget\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBtarget\fP \fP"
.ti -1c
.RI "\fBDOMString\fP \fBtype\fP () const "
.br
.RI "\fIAdvisory content type. \fP"
.ti -1c
.RI "void \fBsetType\fP (const  \fBDOMString\fP &)"
.br
.RI "\fIsee \fBtype\fP \fP"
.ti -1c
.RI "\fBStyleSheet\fP \fBsheet\fP () const "
.br
.RI "\fIIntroduced in \fBDOM\fP Level 2 This method is from the LinkStyle interface. \fP"
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLLinkElement\fP (HTMLLinkElementImpl *impl)"
.br
.in -1c
.SH "Detailed Description"
.PP 
The \fC LINK \fP element specifies a link to an external resource, and defines this document's relationship to that resource (or vice versa). 

See the \fCLINK element definition \fP in HTML 4.0. 
.PP
Definition at line 102 of file html_head.h.
.SH "Member Function Documentation"
.PP 
.SS "bool HTMLLinkElement::disabled () const"
.PP
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 113 of file html_head.cpp.
.SS "void HTMLLinkElement::setDisabled (bool)"
.PP
see \fBdisabled\fP Definition at line 119 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::charset () const"
.PP
The character encoding of the resource being linked to. See the \fCcharset attribute definition \fP in HTML 4.0. Definition at line 125 of file html_head.cpp.
.SS "void HTMLLinkElement::setCharset (const \fBDOMString\fP &)"
.PP
see \fBcharset\fP Definition at line 131 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::href () const"
.PP
The URI of the linked resource. See the \fChref attribute definition \fP in HTML 4.0. Definition at line 136 of file html_head.cpp.
.PP
References href(), DOM::DOMString::length(), and DOM::DOMString::string().
.PP
Referenced by href().
.SS "void HTMLLinkElement::setHref (const \fBDOMString\fP &)"
.PP
see \fBhref\fP Definition at line 143 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::hreflang () const"
.PP
Language code of the linked resource. See the \fChreflang attribute definition \fP in HTML 4.0. Definition at line 148 of file html_head.cpp.
.SS "void HTMLLinkElement::setHreflang (const \fBDOMString\fP &)"
.PP
see \fBhreflang\fP Definition at line 154 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::media () const"
.PP
Designed for use with one or more target media. See the \fCmedia attribute definition \fP in HTML 4.0. Definition at line 159 of file html_head.cpp.
.SS "void HTMLLinkElement::setMedia (const \fBDOMString\fP &)"
.PP
see \fBmedia\fP Definition at line 165 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::rel () const"
.PP
Forward link type. See the \fCrel attribute definition \fP in HTML 4.0. Definition at line 170 of file html_head.cpp.
.SS "void HTMLLinkElement::setRel (const \fBDOMString\fP &)"
.PP
see \fBrel\fP Definition at line 176 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::rev () const"
.PP
Reverse link type. See the \fCrev attribute definition \fP in HTML 4.0. Definition at line 181 of file html_head.cpp.
.SS "void HTMLLinkElement::setRev (const \fBDOMString\fP &)"
.PP
see \fBrev\fP Definition at line 187 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::target () const"
.PP
Frame to render the resource in. See the \fCtarget attribute definition \fP in HTML 4.0. Definition at line 192 of file html_head.cpp.
.SS "void HTMLLinkElement::setTarget (const \fBDOMString\fP &)"
.PP
see \fBtarget\fP Definition at line 198 of file html_head.cpp.
.SS "\fBDOMString\fP HTMLLinkElement::type () const"
.PP
Advisory content type. See the \fCtype attribute definition \fP in HTML 4.0. Definition at line 203 of file html_head.cpp.
.SS "void HTMLLinkElement::setType (const \fBDOMString\fP &)"
.PP
see \fBtype\fP Definition at line 209 of file html_head.cpp.
.SS "\fBStyleSheet\fP HTMLLinkElement::sheet () const"
.PP
Introduced in \fBDOM\fP Level 2 This method is from the LinkStyle interface. The style sheet. Definition at line 214 of file html_head.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
