Answers for "how to make text box html"

7

html text box

<!-- A <textarea> tag (better for multi-line text)-->
<textarea cols="4" rows="5">
Some text inside the text box.  
See https://www.w3schools.com/tags/tag_textarea.asp
</textarea>

<!-- An <input> type text tag (better for single-line text) -->
<input type="text" value="Some text inside the text box">
<!-- See https://www.w3schools.com/tags/att_input_type_text.asp -->

<!-- Using contenteditable (not recommended) -->
<p contenteditable="true">Some text inside the text box</p>
<!-- See https://www.w3schools.com/tags/att_global_contenteditable.asp -->
Posted by: Guest on October-19-2020
0

how to add text box html

<label for="textarea">WRITE COMMENTS HERE : </label><br><br>
     <textarea id="textarea" cols="30" rows="10" placeholder="write here..."></textarea>
Posted by: Guest on November-24-2020
0

text box

<input type="text" class="form-control" placeholder="Input box">
<input type="text" class="form-control" placeholder="Input box (disabled)" disabled>
<textarea class="form-control" rows="2" placeholder="Textarea"></textarea>
<textarea class="form-control" rows="2" placeholder="Textarea (disabled)" disabled></textarea>
Posted by: Guest on May-09-2021

Code answers related to "how to make text box html"

Browse Popular Code Answers by Language