Write the html code to change the default color for the three link attributes of the body tag
Note : please write the full answer if you don't know please don't write if you will write an incomplete or spam the answer I will report all your answers!!
Answers
Answer:
background: It contains the URL of background image. ...
bgcolor: It is used to specify the background color of an image.
alink: It is used to specify the color of active link.
link: It is used to specify the color of visited links.
text: It specify the color of text in a documen
Whether a link has been visited, hasn't been visited, or is live, it will be displayed in a different colour.
Link Colors in HTML
In all browsers, a link will often look like this by default:
1. An unclicked link is highlighted in blue
2. A clicked link is highlighted in purple.
3. A link that is active is highlighted in red.
With CSS, you may alter the link state colours:
Example
An unclicked link will be green and ununderlined in this instance. Links that have been visited will be pink and not underlined. A link that is active will be highlighted in yellow. In addition, a link will turn red and be highlighted when you mouse over it (a:hover):
<style>
a:link {
color: green;
background-color: transparent;
text-decoration: none;
}
a:visited {
color: pink;
background-color: transparent;
text-decoration: none;
}
a:hover {
color: red;
background-color: transparent;
text-decoration: underline;
}
a:active {
color: yellow;
background-color: transparent;
text-decoration: underline;
}
</style>
To learn more refer the links :-
https://brainly.in/question/6984574
https://brainly.in/question/18624559
#SPJ3