Example In the following example, the href attribute points to the location of an external style sheet: <head> <link rel=&...
Example
In the following example, the href attribute points to the location of an external style sheet:<head> <link rel="stylesheet" type="text/css" href="theme.css" /> </head> |
Definition and Usage
The href attribute specifies the location (URL) of a linked document.Browser Support
The href attribute is supported in all major browsers.Tips and Notes
Tip: All URLs should be URL-encoded when required.Syntax
<link href="value" /> |
Attribute Values
Value | Description |
---|---|
URL | The URL of the linked document.Possible values:
|