Skip to content

Numbers

Input fields for numbers can be created using the input type number in the input element.

Example

<p>
    Enter the smallest prime number:
</p>
<p>
    Answer: <input><number>2</number></input>
</p>