Write HTML code to create a link on ''Help'' with link help.html, with active link as blue, visited link and green link as red.
Answers
<html>
<head>
<style>
a:link {
color: Red;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: Green;
background-color: transparent;
text-decoration: none;
}
a:active {
color: Blue;
background-color: transparent;
text-decoration: underline;
}
</style>
</head>
<body>
<a href="help.html">Help</a>
</body>
</html>
May be helpful
Answer:
Explanation:
<style>
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: red;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: blue;
background-color: transparent;
text-decoration: underline;
}
</style>