You are modifying an existing Web page that needs to validate as HTML5 code. To create a rectangular hotspot in an image map that links to www.xyz.com, which code would you nest inside the container tags?
Suggested Answer: C
Get Premium 1D0-610 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
26 comments · newest first
LE
Leontine
7 months ago
D is missing quotes around the href. That's a no-go for me.
JA
James
7 months ago
Option B has a typo in the coords. Not valid.
AN
Antonio
7 months ago
I prefer option C. "rect" is the correct shape keyword.
HO
Hortencia
7 months ago
I think option A looks good. The syntax seems right.
MA
Malcolm
8 months ago
Wait, why is it "rect" instead of "rectangle"? That seems odd.
CA
Carin
8 months ago
I agree, C is the way to go!
LE
Leatha
8 months ago
D looks off, missing quotes around the href.
TO
Tommy
8 months ago
I think A has some errors in the shape and coords.
TA
Tammara
8 months ago
Option C is the correct syntax for HTML5!
ER
Erick
8 months ago
C is the answer, the other options have some syntax errors in the coords.
AB
Abel
9 months ago
Haha, option D has a typo in the coords, that's a classic trick question!
AY
Ayesha
9 months ago
Option C is the way to go, the other options have some issues with the coords attribute format.
JA
Jaime
9 months ago
I'm pretty sure the correct answer is C, the coords attribute looks right for a rectangle.
BA
Barrie
10 months ago
Option C looks correct, the coords attribute uses the correct format for a rectangular hotspot.
KA
Katheryn
10 months ago
I'm confused about the href format too. Should it have "http://" or just "www"? That might change the answer.
JE
Jeffrey
10 months ago
I feel like I saw a question similar to this in our last mock exam, but I can't recall the exact coordinates format.
TO
Tori
10 months ago
I think option C looks familiar because it uses "rect" for the shape, which seems right for HTML5.
DO
Dorethea
10 months ago
I remember we practiced image maps, but I'm not sure about the correct shape attribute. Was it "rectangle" or "rect"?
DU
Dulce
10 months ago
I'm not totally confident, but I think option D is the best choice. The href attribute should use the full http:// prefix, and the coords can use periods as separators.
MI
Mitzie
11 months ago
I'm leaning towards option A. The "rectangle" shape and the period separators in the coords look right to me.
MI
Mi
11 months ago
Option C looks the most promising to me. The "rect" shape and the coords with commas seem to match the HTML5 standard.
MA
Marti
11 months ago
Hmm, I'm a little unsure about the coords attribute. Do the values need to be integers or can they have decimal points?
DE
Devorah
11 months ago
I think the key here is to focus on the HTML5 validation requirement. That means we need to use the correct syntax and attributes for the element.
DI
Dick
5 months ago
I think option C looks the best for validation.
TE
Tess
5 months ago
Definitely! The shape and coords need to be accurate.
WI
William
7 months ago
I agree, syntax is crucial for HTML5 validation.