Horje
How to create Link Buttons | HTML Links Color Code
How to create Link Buttons

A link can also be styled as a button, by using CSS:


Full Example of

We put here example a button color link
index.html
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>

Output should be:

Full Example of



Read Full::
HTML Links Color Code
Category:
HTML Code
Sub Category:
HTML Links Color Code
Uploaded:
10 months ago
Uploaded by:
Admin
Views:
1

Related Articles
What is HTML Links Color HTML Links Color Code
How to create Link Buttons HTML Links Color Code

Single Articles
Full Example of

Share on: