Textarea tag is an html tag we often use. It mainly allows you to achieve line breaks and other effects when entering longer text. Here is a reference to one of its basic uses:
textarea tags-represents multiple row input fields for HTML form
Textarea tags appear in pairs, starting with <textarea> and ending with</textarea>
property :Common -- General properties
cols -- the number of columns in multiple row input fields
rows -- the number of rows in multiple rows input fields
accesskey -- the form's shortcut key access method
disabled -- The input field cannot get focus, cannot be selected, displayed in gray, does not play any role in the form
readonly -- The input field can be selected, but cannot be modified
tabindex -- input field, traversal order using tab key
Use cases are as follows :Html code:
Copy the code