(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-66923408-1', 'auto'); ga('send', 'pageview');

Different URL Forms

The URL may be:

Fully Qualified (include a protocol)
https://html.com
https://html.com
URL with a relative (unspecified) protocol
//html.com
Browser-specific protocol
chrome://settings/
Relative to the current page
next
Relative to the current domain
/
/wp-content/uploads/flamingo.jpg

Values of the href Attribute

Value NameNotes
url
The URL (URI) of the linked resource.

All Attributes of the anchor Element

Attribute nameValuesNotes
hreflang
Specifies the language of the linked resource.
download
Directs the browser to download the linked resource rather than opening it.
target
_blank
_parent
_self
_top
frame name
Specifies the context in which the linked resource will open.
title
text
Defines the title of a link, which appears to the user as a tooltip.
href
url
Specifies the linked document, resource, or location.
name
Adam Wood
Adam is a technical writer who specializes in developer documentation and tutorials.

Browser Support for href

All
All
All
All
All
All
shares