Answers for "a tag styles"

7

text underline hover css

a:hover {
  text-decoration: underline;
}
Posted by: Guest on May-28-2020
5

how to change hyperlink color in css

a {
  background-color: red;
  color: white;
  padding: 1em 1.5em;
  text-decoration: none;
  text-transform: uppercase;
}
Posted by: Guest on November-20-2019
3

html style tag

<html>
<head>
<style>
  h1 {color:red;}
  p {color:blue;}
</style>
</head>
<body>

<h1>A heading</h1>
<p>A paragraph.</p>

</body>
Posted by: Guest on September-30-2020

Browse Popular Code Answers by Language