<a>
Widely available
The <a>
element creates a hyperlink to any resource that's accessible via a URL, such as web pages, files, email addresses, or locations within the same page.
Compatibility
- Chrome 1 Released on 2008-12-11
- Chrome Android 18 Released on 2012-06-27
- Edge 12 Released on 2015-07-29
- Firefox 1 Released on 2004-11-09
- Firefox for Android 4 Released on 2011-03-29
- Safari 1 Released on 2003-06-23
- Safari on iOS 1 Released on 2007-06-29
MDN docs
- HTMLAnchorElement
- HTMLAnchorElement.hash
- HTMLAnchorElement.host
- HTMLAnchorElement.hostname
- HTMLAnchorElement.href
- HTMLAnchorElement.hreflang
- HTMLAnchorElement.origin
- HTMLAnchorElement.password
- HTMLAnchorElement.pathname
- HTMLAnchorElement.port
- HTMLAnchorElement.protocol
- HTMLAnchorElement.rel
- HTMLAnchorElement.relList
- HTMLAnchorElement.search
- HTMLAnchorElement.target
- HTMLAnchorElement.text
- HTMLAnchorElement.toString
- HTMLAnchorElement.type
- HTMLAnchorElement.username
Specifications
- HTML Standard, from HTML Workstream (WHATWG).
BCD data
- api.HTMLAnchorElement
- api.HTMLAnchorElement.hash
- api.HTMLAnchorElement.host
- api.HTMLAnchorElement.hostname
- api.HTMLAnchorElement.href
- api.HTMLAnchorElement.hreflang
- api.HTMLAnchorElement.origin
- api.HTMLAnchorElement.password
- api.HTMLAnchorElement.pathname
- api.HTMLAnchorElement.port
- api.HTMLAnchorElement.protocol
- api.HTMLAnchorElement.rel
- api.HTMLAnchorElement.relList
- api.HTMLAnchorElement.search
- api.HTMLAnchorElement.target
- api.HTMLAnchorElement.text
- api.HTMLAnchorElement.toString
- api.HTMLAnchorElement.type
- api.HTMLAnchorElement.username
- html.elements.a
- html.elements.a.href
- html.elements.a.hreflang
- html.elements.a.rel
- html.elements.a.rel.noopener
- html.elements.a.rel.noreferrer
- html.elements.a.target
- html.elements.a.type