Interface

HTMLLinkElement

HTMLLinkElement

Reference information for external resources and the relationship of those resources to a document and vice-versa. This object inherits all of the properties and methods of the HTMLElement interface.

View Source js/lib.dom.d.ts, line 2954

Members

string

# charset

Sets or retrieves the character set used to encode the object.

View Source js/lib.dom.d.ts, line 2957

string

# href

Sets or retrieves a destination URL or an anchor point.

View Source js/lib.dom.d.ts, line 2962

string

# hreflang

Sets or retrieves the language code of the object.

View Source js/lib.dom.d.ts, line 2967

string

# media

Sets or retrieves the media type.

View Source js/lib.dom.d.ts, line 2972

string

# rel

Sets or retrieves the relationship between the object and the destination of the link.

View Source js/lib.dom.d.ts, line 2977

string

# rev

Sets or retrieves the relationship between the object and the destination of the link.

View Source js/lib.dom.d.ts, line 2982

string

# target

Sets or retrieves the window or frame at which to target content.

View Source js/lib.dom.d.ts, line 2987

string

# type

Sets or retrieves the MIME type of the object.

View Source js/lib.dom.d.ts, line 2992