nerdexam
CIW

1D0-61B · Question #18

To define a circle-shaped hot-spot for an image map, which of the following code fragments would you use?

The correct answer is D. Option D. Option D correctly uses <area shape="circle" coords="x,y,r" ...>, where shape="circle" is the valid HTML attribute value and coords takes exactly three values: the center x-coordinate, center y-coordinate, and radius. The other options are wrong for typical reasons seen in this…

HTML5 Coding

Question

To define a circle-shaped hot-spot for an image map, which of the following code fragments would you use?

Exhibit

1D0-61B question #18 exhibit

Options

  • AOption A
  • BOption B
  • COption C
  • DOption D

How the community answered

(55 responses)
  • A
    4% (2)
  • B
    9% (5)
  • C
    16% (9)
  • D
    71% (39)

Explanation

Option D correctly uses <area shape="circle" coords="x,y,r" ...>, where shape="circle" is the valid HTML attribute value and coords takes exactly three values: the center x-coordinate, center y-coordinate, and radius.

The other options are wrong for typical reasons seen in this type of question:

  • Option A likely uses an incorrect shape value such as "round" or "circular" - neither is valid HTML; the only accepted values are circle, rect, and poly.
  • Option B likely provides the wrong number of coords values (e.g., four values like a rectangle, which needs x1,y1,x2,y2).
  • Option C likely confuses circle syntax with polygon syntax (shape="poly" requires an arbitrary list of x/y pairs).

Memory tip: Think "circle = center + radius = 3 numbers" - cx, cy, r. If you see four coordinates, that's a rectangle (x1,y1,x2,y2). Matching the coordinate count to the shape is the fastest way to eliminate wrong answers on the exam.

Topics

#image maps#area element#circle hotspots#HTML markup

Community Discussion

No community discussion yet for this question.

Full 1D0-61B Practice