HTML | <link> href Attribute (original) (raw)

Last Updated : 6 Jun, 2022

The HTML href Attribute is used to specify the URL of the linked document.
It mostly contains the URL of the stylesheet file.
Syntax:

Attribute Values: It contains the value i.e URL which specifies the URL of the linked document.
Possible values are:

Example: This Example illustrates the use of href attribute in the link element.

html `

GeeksForGeeks

href Attribute

`

Output:

Supported Browsers: The browser supported by HTML | href Attribute are listed below: