HTML DOM Link Object
Link Object
The Link object represents an HTML link element.
A link element defines the relationship between two linked documents.
The link element is defined in the head section of an HTML document.
Link Object Properties
W3C: W3C Standard.
| Property |
Description |
W3C |
| charset |
Sets or returns the character encoding of the target URL |
Yes |
| disabled |
Sets or returns whether or not the target URL should be
disabled |
Yes |
| href |
Sets or returns the URL of a linked resource |
Yes |
| hreflang |
Sets or returns the base language of the target URL |
Yes |
| media |
Sets or returns on what device the document will be
displayed |
Yes |
| name |
Sets or returns the name of a <link> element |
Yes |
| rel |
Sets or returns the relationship between the current
document and the target URL |
Yes |
| rev |
Sets or returns the relationship between the target URL and
the current document |
Yes |
| type |
Sets or returns the MIME type of the target URL |
Yes |
Standard Properties, Methods, and Events
The Link object also supports the standard properties, methods, and events.
Start Creating a stunning, Flash website. It's easy and free!
Wix is a revolutionary web design tool that provides you with a free, simple,
drag & drop editing platform to create your own professional and beautiful website.
Over 2 Million users have created their website with Wix.
Now create yours!
 |
W3Schools' Online Certification Program
The perfect solution for professionals who need to balance work, family, and career building.
More than 4500 certificates already issued!
|
The HTML Certificate documents your knowledge of HTML, XHTML, and CSS.
The JavaScript Certificate documents your knowledge of JavaScript and HTML DOM.
The XML Certificate documents your knowledge of XML, XML DOM and XSLT.
The ASP Certificate documents your knowledge of ASP, SQL, and ADO.
The PHP Certificate documents your knowledge of PHP and SQL (MySQL).
|