# Text in a video or a hotspot (H5P.Text)

Formatted text, the part Interactive Video and Image Hotspots hold. Elsewhere, use H5P.AdvancedText.

- `text` takes the tags the Fields section lists.

## Example

```json
{
  "type": "H5P.ImageHotspots",
  "params": {
    "image": { "path": "delta.png" },
    "backgroundImageAltText": "A river delta",
    "hotspots": [{ "position": { "x": 50, "y": 50 }, "header": "Delta", "content": [{ "library": "H5P.Text", "params": { "text": "<p>The river splits into <strong>channels</strong>.</p>" } }] }]
  }
}
```

<!-- Generated by `h5p-author schema --markdown` from the pinned pack. Do not edit by hand. -->

## Fields of H5P.Text 1.1

- `text` html: strong em del a ul ol h2 h3 hr pre code, required — Text

It has no interface texts of its own.

<!-- End of the generated section. -->
