Skip to main content

<input>


  • Date:
    27/02/2025
  • Modified:
    22/05/2026
  • Category:
    Elements

The <input> element is used to define an input field in an assessment. It is a mostly visual cue to let readers know where in print input is requested, typically within exercises or quizzes.

Notes

  • Use the <input> element wherever the printed version shows an input field.
  • Ensure the type attribute is correctly set based on the expected user input.
  • The <input> element should not enclose any child content.

Attributes

NameExplanationRequired
type
  • text. Use this type when the source material shows a single-lined input field.
  • textarea. Use this type when the source material shows a multiple-lined input field.
  • checkbox. Use this type when the source material shows a checkbox or radiobutton.
Yes
id

Each input element should have a unique id. Always format the id as id="input-1", id="input-2" etc.

Yes
prefilled

Contains the prefilled text as a string value.

No

Examples

Input type “text”
<assessment type="practice">
  <title number="4">Aufgabe 4 Mein alter ist...</title>
  <p>Wie alt sind die Jugendlichen? Sind sie 11 (elf), 12 (zwölf), 13 (dreizehn) oder 14 (vierzehn) Jahre alt?</p>
  <p fontStyles="bold">Hör dir an, was die Jugendlichen erzählen, und schreibe das Alter auf.</p>
  <p xml:lang="nl" fontStyles="italic">Luister naar wat de jongeren vertellen en schrijf de leeftijd op.</p>
  <p><em fontStyles="bold">1</em> Katharina ist <input type="text" id="input-1"/> Jahre alt.</p>
  <p><em fontStyles="bold">2</em> Simon ist <input type="text" id="input-2"/> Jahre alt.</p>
  <p><em fontStyles="bold">3</em> Benjamin ist <input type="text" id="input-3"/> Jahre alt.</p>
  <p><em fontStyles="bold">4</em> Floriane ist <input type="text" id="input-4"/> Jahre alt.</p>
  <p><em fontStyles="bold">5</em> Nora ist <input type="text" id="input-5"/> Jahre alt.</p>
  <p><em fontStyles="bold">6</em> Anita ist <input type="text" id="input-6"/> Jahre alt.</p>
</assessment>
Input type “checkbox”
<assessment type="practice">
  <title number="13" label="assessment">13</title>
  <p>Gebruik bron 3.</p>
  <p>Kun je op grond van deze bron zeggen dat er in Egypte sprake was van een taakverdeling tussen man en vrouw?</p>
  <list numberType="upperCaseAlpha" listType="ordered">
    <li><input type="checkbox" id="input-1"/> Dat is niet te zeggen...één plaatje niet.</li>
    <li><input type="checkbox" id="input-2"/> Ja, dit is...over taakverdeling.</li>
    <li><input type="checkbox" id="input-3"/> Nee, dit is geen...en jacht.</li>
  </list>
</assessment>
Input type “textarea”
<assessment type="practice">
  <title number="2" label="assessment">2</title>
  <p>Biologie gaat over het leven.</p>
  <p>Hoe kun je bewijzen dat je leeft? Bedankt jouw antwoord en probeer degene die naast je zit te overtuigen dat je leeft.</p>
  <p><input type="textarea" id="input-1"/></p>
</assessment>
Prefilled input
<p><em fontStyles="bold">c</em> Beschrijf de ontwikkeling van een zaadplant in zeven stappen. Stap 1, 4 en 7 zijn gegeven.</p>
<p>1 <input type="text" prefilled="Een zaad neemt water op. De zaadhuid breekt open." id="input-1"/></p>
<p>2 <input type="textarea" id="input-2"/></p>
<p>3 <input type="textarea" id="input-3"/></p>
<p>4 <input type="text" prefilled="Het kiemplantje wordt groter en krijgt meer bladeren" id="input-4"/></p>
<p>5 <input type="textarea" id="input-5"/></p>
<p>6 <input type="textarea" id="input-6"/></p>
<p>7 <input type="text" prefilled="Uit de bloemen ontstaan vruchten met zaden." id="input-7"/></p>

  • Date:
    27/02/2025
  • Modified:
    22/05/2026
  • Category: