To use an HTML button as a link, you have to add some JavaScript code.JavaScript allows you to specify what happens at certain events, such as a click of a button:Link to a page located in the html folder on the current web site: Link to a page located in the same folder as the current page: Use the correct HTML to make the text below into a link to "default.html".For a complete list of all available HTML tags, visit our If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: Send email onclick="document.location='default.asp'">HTML Tutorial The HTML link tag links an external resource, such as a css file, to the HTML document (also called link … While using this site, you agree to have read and accepted our HTML tutorial Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. section">Visit our HTML Tutorial HTML / HTML Anchors: Here’s How To Create Links For Fast Navigation / HTML Link Options Illustrated With Code Examples HTML Link Options Illustrated With Code Examples In HTML Tags HTML HTML Tag Reference HTML Browser Support HTML Event Reference HTML Color Reference HTML Attribute Reference HTML Canvas Reference HTML SVG Reference HTML Character Sets Google Maps Reference CSS CSS Reference CSS Browser Support CSS Selector Reference Bootstrap 3 Reference Bootstrap 4 Reference W3.CSS Reference Icon Reference Sass Reference W3Schools is optimized for learning, testing, and training. If you want to report an error, or if you want to make a suggestion, do not hesitate to send us an e-mail: Visit W3Schools! While using this site, you agree to have read and accepted our Visit W3Schools.com! When used for style sheets, the tag is supported in all major browsers. HTML - Tag - The HTML tag is used for defining a link to an external document. HTML links are hyperlinks.You can click on a link and jump to another document.When you move the mouse over a link, the mouse arrow will turn into a little hand. Examples might be simplified to improve reading and basic understanding. W3Schools is optimized for learning, testing, and training. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content.