input tag formatting code example
Example 1: html text box
<textarea cols="4" rows="5">
Some text inside the text box.
See https://www.w3schools.com/tags/tag_textarea.asp
</textarea>
<input type="text" value="Some text inside the text box">
<p contenteditable="true">Some text inside the text box</p>
Example 2: input type file pattern attribute in html
<input type="file" name="my-image" id="image" accept="image/gif, image/jpeg, image/png" />
To select only image files, you can use this accept="image/*"
<input type="file" name="my-image" id="image" accept="image/*" />