nerdexam
CIW

1D0-510 · Question #59

What is the purpose of the link attribute when used in the HTML <body> tag?

The correct answer is C. It determines the color of unvisited links on a Web page. See the full explanation below for the reasoning.

Question

What is the purpose of the link attribute when used in the HTML <body> tag?

Options

  • AIt determines the color of visited links on a Web page.
  • BIt specifies the style sheet used to format a Web page.
  • CIt determines the color of unvisited links on a Web page.
  • DIt designates text that will act as a hyperlink on a Web page.

How the community answered

(54 responses)
  • A
    11% (6)
  • B
    4% (2)
  • C
    83% (45)
  • D
    2% (1)

Community Discussion

10
Brenda K.Brenda K.Jun 27, 2026

C is your answer, and this one is a quick win, clock it in under 20 seconds. The link attribute in the body tag sets the color of unvisited hyperlinks, so before a user has ever clicked that link, this attribute controls what color they see.

30
Prof. SaraProf. SaraJun 28, 2026

Locked, and while you are there, make sure you also know vlink for visited links and alink for the active click state, because exam writers love testing all three body color attributes together as a set.

0
Grace U.Grace U.Jun 27, 2026

C is the one, and the wording in the other options is what makes this question feel trickier than it is. The link attribute on the body tag controls the color of links the visitor has not yet clicked, which is exactly what C says. If you mix it up with visited links, that is the vlink attribute, a separate thing entirely, so knowing that pair helps you keep them straight under pressure. Option D is tempting if you read too fast, but designating text as a hyperlink is the job of the anchor tag itself, not a body attribute.

5
Brenda K.Brenda K.Jun 28, 2026

Grace nailed the anchor-tag point, and I will add the clock angle: this is a 20-second question so flag it done fast and bank that time for the subnet or ACL monsters waiting later in the exam.

0
Prof. SaraProf. SaraJun 27, 2026

C is correct, and the memory hook here is L-U-V: Link equals Unvisited, Vlink equals Visited, so the body tag's link attribute controls only the color of links the user has not yet clicked. Pair that with alink (active, mid-click) and vlink (visited) and you have all three body-level link color attributes covered for the blueprint.

5
Grace U.Grace U.Jun 27, 2026

The LUV hook covers the two you most likely blank on, but do not sleep on alink, since that is the one exam writers love to swap in as the distractor for "which attribute fires while the user is actively clicking."

0
Renata O.Renata O.Jun 27, 2026

The link attribute in the body tag sets the color for hyperlinks the visitor has not yet clicked, so if you write body link="0000FF" you get blue unvisited links by default. Keep in mind this attribute is deprecated in HTML5 and CSS handles it now via the a:link selector, but the 1D0-510 exam tests the legacy HTML behavior.

4
Prof. SaraProf. SaraJun 29, 2026

Renata is right that link sets the unvisited hyperlink color, but do not forget the hash sign, because link="#0000FF" is the correct syntax and the missing pound is exactly the kind of trap the 1D0-510 item writers love to test.

0
Ola B.Ola B.Jun 26, 2026

Spin up an old HTML file in any text editor, throw body link="#FF0000" in there, then click a fresh link and watch it turn red before you ever visit it. That one showed up on my 1D0-510 and I remembered my lab instantly, went straight to C without blinking.

-1
Grace U.Grace U.Jun 28, 2026

That lab instinct is exactly what carries you through the hard ones, though worth keeping in mind that the link attribute sets the color for unvisited links, so what you saw in red were links you had not clicked yet, while visited would have been a separate vlink attribute.

0
Full 1D0-510 Practice