1D0-610 · Question #41
To define a circle-shaped hotspot for an image map, which of the following code fragments would you use? A. B. C. D.
HTML Image Map: Circle Hotspot Note: The actual code fragments (A, B, C, D) are missing from your question - only the text labels were included, not the HTML snippets themselves. I can't identify which option is correct without seeing them. --- The Core Concept For HTML image map
Question
To define a circle-shaped hotspot for an image map, which of the following code fragments would you use? A. B. C. D.
Answer Area
- To define a circle-shaped hotspot for an image map, which of the following code fragments would you use? A. B. C. D.
Explanation
HTML Image Map: Circle Hotspot
Note: The actual code fragments (A, B, C, D) are missing from your question - only the text labels were included, not the HTML snippets themselves. I can't identify which option is correct without seeing them.
The Core Concept
For HTML image maps, hotspot shapes are defined using the <area> tag with the shape attribute:
| Shape | shape value | coords format |
|---|---|---|
| Rectangle | "rect" | x1,y1,x2,y2 |
| Circle | "circle" | cx,cy,radius |
| Polygon | "poly" | x1,y1,x2,y2,... |
| Entire image | "default" | (none needed) |
Correct syntax for a circle hotspot:
<area shape="circle" coords="100,100,50" href="page.html" alt="Circle">
coords="100,100,50"means: center at (100, 100), radius = 50 pixels
Memory Tip
"Circle needs 3 coords: X, Y, Radius" - think center + size, not two corners like a rectangle.
If you paste the actual A/B/C/D code snippets, I can identify exactly which one is correct and explain why each wrong answer fails.
Topics
Community Discussion
No community discussion yet for this question.