Write a code to change the color of the background or text? Explain the elements involved in it?

0

To change the color of the background of the body or the text there is a tag that has to be included where there are some elements that has to be used to set the properties of it.

The code is as follows:

he elements that are used in this tag is as follows:

  1. BGCOLOR : Represents the background color which will be applied totally on the body if there is no other bgcolor used with any other tag internally.
  2. TEXT : Represents the color of the text that will be applied to the complete text present in the body.
  3. LINK : Represents the color of all the text links that are present inside the body.
  4. VLINK : Represents the color of the links that has already been visited.

5. ALINK : Represents the color of the text links that will change when the page accessed will be active.

asked Apr 15, 2023 at 00:10
Sign in to add a comment

0 Answers

0
📝 No answers yet!

Be the first to answer this interview question.

Your Answer

Sign in to post your answer and help the community.