<link href=””>

Disclosure: Your support helps keep the site running! We earn a referral fee for some of the services we recommend on this page. Learn more

Sharing is caring!

Attribute of
HTML Link Options Illustrated With Code Examples
What does <link href=""> do?
Describes the relationship between the source file and an external file, such as a script.

Same as <a href="">

See the documentation for the href attribute and the link ( <link> ) element for complete details on using href.

Claire is seasoned technical writer, editor, and HTML enthusiast. She writes for HTML.com and runs a content agency, Red Robot Media.

Browser Support for href

AllAllAllAllAllAll