# Bad value X for attribute “coords” on element “area”: Expected a minus sign or a digit but saw “ ” instead.

> Canonical HTML version: https://rocketvalidator.com/html-validation/bad-value-x-for-attribute-coords-on-element-area-expected-a-minus-sign-or-a-digit-but-saw-space-instead
> Attribution: Rocket Validator (https://rocketvalidator.com)
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

The `coords` value contains a space where the validator expects the start of a number.

An `<area>` element defines a region in an image map. Its `coords` attribute describes that region using coordinates in CSS pixels. For `shape="poly"`, provide at least three pairs of x and y coordinates, with an even number of values.

In the example below, Rocket's HTML validator rejects the space immediately after the second comma. Write the coordinates as comma-separated numbers without spaces to avoid this parsing error. Keep the values appropriate for the selected shape.

## Invalid example

```html
<map name="floor-plan">
  <area shape="poly" coords="0,0, 100,0,100,50" href="/reception" alt="Reception">
</map>
```

## Valid example

```html
<map name="floor-plan">
  <area shape="poly" coords="0,0,100,0,100,50" href="/reception" alt="Reception">
</map>
```
