R

Ram Sharma • 193.86K Points
Coach

Q. The attribute .................. of <BODY> tag sets color of hypertext links.

  • (A) link
  • (B) vlink
  • (C) alink
  • (D) hlink
  • Correct Answer - Option(A)
  • Views: 168
  • Filed under category HTML

Explanation by: Mr. Dubey
In HTML, the <BODY> tag has several attributes to define link colors:

1. link → Sets the color of unvisited hyperlinks.


2. vlink → Sets the color of visited hyperlinks.


3. alink → Sets the color of active hyperlinks (when clicked).



Other Options Explained:

(B) vlink – Sets visited link color, not unvisited links.

(C) alink – Changes the color of active links (when clicked).

(D) hlink – Not a valid HTML attribute.


Thus, the correct answer is (A) link.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics