HTML Checking for Large Sites
Rocket Validator automatically checks your pages on the W3C Validator.
Bad value “X1,Y1,X2,Y2” for attribute “coords” on element “area”: A circle must have three comma-separated integers. The first integer must be less than the third. A polyline must have at least six comma-separated integers.
The coordinates specified for an <area>
element using the coords
attribute are not in a valid format.
-
For a rectangle (
shape="rect"
), the formatX1,Y1,X2,Y2
is expected, where the top-left corner is specified byX1, Y1
and the bottom-right corner is specified byX2, Y2
, thereforeX1
must be lower thanX2
, andY1
must be lower thanY2
because the coordinates0, 0
start at the top-left.
-
For a polygon (
shape="poly"
), the formatX1,Y1,X2,Y2,...,Xn,Yn
is expected to contain a list of coordinate pairs (at least 3, for a triangle). -
For a circle (
shape="circle"
), the formatX,Y,R
is expected whereX, Y
represents the coordinates of the center of the circle (from the top-left corner), andR
is the radius.
Read more about the <area>
element:
Related W3C validator issues
Links created with the <a>
element no longer accept a shape
attribute. In order to define image maps, use the <area>
element instead.
Learn more:
25,000 HTML checks per month. Is that enough for your site?
Save time using our automated web checker. Let our crawler check your web pages on the W3C Validator.