1<!-- A <textarea> tag (better for multi-line text)-->
2<textarea cols="4" rows="5">
3Some text inside the text box.
4See https://www.w3schools.com/tags/tag_textarea.asp
5</textarea>
6
7<!-- An <input> type text tag (better for single-line text) -->
8<input type="text" value="Some text inside the text box">
9<!-- See https://www.w3schools.com/tags/att_input_type_text.asp -->
10
11<!-- Using contenteditable (not recommended) -->
12<p contenteditable="true">Some text inside the text box</p>
13<!-- See https://www.w3schools.com/tags/att_global_contenteditable.asp -->
1<label for="name">Name (4 to 8 characters):</label>
2
3<input type="text" id="name" name="name" required
4 minlength="4" maxlength="8" size="10">