Advertisements
Advertisements
Question
Write the appropriate HTML tag with the correct attributes to achieve the following requirements:
The links that have not been visited should appear in blue. The links that have already been visited should appear in purple.
Short Answer
Advertisements
Solution
The appropriate HTML tag to achieve these requirements is the
<body> tag.Correct Tag and Attributes:
<body link="blue" vlink="purple">link: This attribute sets the color of unvisited links (blue).vlink: This attribute sets the color of visited links (purple).
shaalaa.com
Is there an error in this question or solution?
2025-2026 (March) Official Board Paper
