[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
HTMLSPEC-LINK
Used to specify the relationship between the current document and its URL resource links or the "reverse" relationship between the URL resource links and the current document.
Attributes
Specifies the URL of the link destination in the web document.
Specifies the relationship between the current document and the resource link.
Specifies the relationship between the resource link and the current document.
Specifies the style sheet used to create the style specification of the linked document.
Code Tip
The <link> tag is commonly used to link to external style sheets.
Live Example
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
HTMLSPEC-LINK
Link
UsageUsed to specify the relationship between the current document and its URL resource links or the "reverse" relationship between the URL resource links and the current document.
Attributes
href="URL"
Specifies the URL of the link destination in the web document.
rel=""
Specifies the relationship between the current document and the resource link.
rev=""
Specifies the relationship between the resource link and the current document.
type=""
Specifies the style sheet used to create the style specification of the linked document.
Code Tip
The <link> tag is commonly used to link to external style sheets.
Live Example
<html> <head> <link href="/sitestyle/sitemap.css" type="text/css"> <title>LINK Document Example</title></head> <body> </body> </html>
HTML Tags Center
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
