Home
HTML
HTML Links
Example 6: HTML Links
Run ❯❯
<!DOCTYPE html> <html> <head> <title>HTML Button Link Example</title> </head> <body> <h1>HTML Button Link</h1> <a href="https://resultuniversity.com/html/web-browser"><button>Web Browsers</button></a><br> <button onclick="document.location='web-browser'">Web Browsers</button> <p>Links defined above are button links. See the code how they are defined. The first link is defined with a tag. The second link is defined using the javascript onclick event.</p> </body> </html>