πŸ“Š HTML
Q. The attribute .................. of <BODY> tag sets color of hypertext links.
  • (A) link
  • (B) vlink
  • (C) alink
  • (D) hlink
πŸ’¬ Discuss
βœ… Correct Answer: (A) link

Explanation: 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.

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.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
248
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
81%
Success Rate