> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encord.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Objects.spaces.annotation.html annotation

## \_HtmlObjectAnnotation Objects

```python theme={"dark"}
class _HtmlObjectAnnotation(_ObjectAnnotation)
```

Annotations for HTML modality with XPath-based coordinates.

#### frame

```python theme={"dark"}
@property
def frame() -> int
```

This field is deprecated. It is only here for backwards compatibility. It always returns 0.

#### coordinates

```python theme={"dark"}
@property
def coordinates() -> HtmlCoordinates
```

Get the HTML coordinates for this annotation.

**Returns**:

* `HtmlCoordinates` - The XPath-based coordinates for this annotation.

#### coordinates

```python theme={"dark"}
@coordinates.setter
def coordinates(coordinates: HtmlCoordinates) -> None
```

Set the HTML coordinates for this annotation.

**Arguments**:

* `coordinates` - The new HtmlCoordinates to set.

## \_HtmlClassificationAnnotation Objects

```python theme={"dark"}
class _HtmlClassificationAnnotation(_ClassificationAnnotation)
```

Classification annotations for HTML modality.

#### frame

```python theme={"dark"}
@property
def frame() -> int
```

This field is deprecated. It is only here for backwards compatibility. It always returns 0.
