# Mark the Words (H5P.MarkTheWords)

A text in which the learner clicks the words that fit a rule: every verb, every misspelt word.

- Mark the right words in `textField` with asterisks: `*word*`. Single words only, not phrases.
- `taskDescription` says what to mark; it is required.

## Example

```json
{
  "type": "H5P.MarkTheWords",
  "params": {
    "taskDescription": "Click every name of a river.",
    "textField": "The *Danube* rises in the Black Forest and the *Rhine* in the Alps; both cross Germany."
  }
}
```

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

## Fields of H5P.MarkTheWords 1.11

The example is `type` and `params` alone, and `params` holds the fields below. A source also names its own `title`, `language`, `license` and `authors`, all four required: the build refuses a source that leaves out any of them. The author's name and the licence are the user's: ask for what they have not given. For a name they skip, write the one you know them by, or "Unknown"; for a licence they skip, `U`.

- `media` group — Media
  - `type` sub-content: H5P.Image | H5P.Video | H5P.Audio — Type: Optional media to display above the question.
  - `disableImageZooming` boolean = false; only when type is "H5P.Image 1.1" — Disable image zooming
- `taskDescription` html: strong em u a ul ol h2 h3 hr pre code, required — Task description: Describe how the user should solve the task.
- `textField` html: strong em code, required — Textfield
  Correct words are marked with asterisks (*) before and after the word. Asterisks can be added within marked words by adding another asterisk, *correctword*** => correctword*. Only words may be marked as correct. Not phrases. Example: The correct words are marked like this: *correctword*, an asterisk is written like this: *correctword***.
- `overallFeedback` list 1+ of — Overall Feedback: Click the "Add range" button to add as many ranges as you need. Example: 0-20% Bad score, 21-91% Average Score, 91-100% Great Score!
  - `from` whole number 0–100 = 0 — Score Range
  - `to` whole number 0–100 = 100
  - `feedback` text — Feedback for defined score range
- `behaviour` group — Behavioural settings.
  - `enableRetry` boolean = true — Enable "Retry"
  - `enableSolutionsButton` boolean = true — Enable "Show solution" button
  - `showScorePoints` boolean = true — Show score points

16 interface texts are left out: they come from the libraries' translations. `h5p-author schema H5P.MarkTheWords --all` lists them, for a source to set one.

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