|
|
To use an HTML button as a link, you have to add some JavaScript code. |
<!DOCTYPE html>
<html>
<body>
<h2>Button as a Links</h2>
<p>Click the button to go to the HTML tutorial.</p>
<button onclick="document.location='https://itupto.com'">HTML Tutorial</button>
</body>
</html>
Category: | Web Tutorial |
Sub Category: | HTML Links |
Uploaded by: | Admin |
Read Articlehttps://develop.horje.com/learn/1434/reference