Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

href

href
Type: string
Defines a URL to open when this element is clicked. Requires the class attribute to include text-link.
<label href="http://example.com" class="text-link" value="Click here to go to example.com"/>

Document Tags and Contributors

 Contributors to this page: Sheppy, Marsf, Mgjbot, Ptak82, Np
 Last updated by: Sheppy,