A link can also be styled as a button, by using CSS: |
Example:
HTML
<!DOCTYPE html>
<html>
<head>
<style>
a:link, a:visited {
background-color: #f44336;
color: white;
padding: 15px 25px;
text-align: center;
text-decoration: none;
display: inline-block;
}
a:hover, a:active {
background-color: red;
}
</style>
</head>
<body>
<h2>Link Button</h2>
<p>A link styled as a button:</p>
<a href="default.asp" target="_blank">This is a link</a>
</body>
</html>
Reffered: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_links_button
What is HTML Links Color | HTML Links Color |
How to create Link Buttons | HTML Links Color |
Full Example of | HTML Links Color |
Read Full: | HTML Links Color |
Category: | Web Tutorial |
Sub Category: | HTML Links Color |
Uploaded: | 1 year ago |
Uploaded by: | Admin |
Views: | 32 |