<textarea name="commentsBox" rows="5" cols="50" maxlength="500">Default text.</textarea>
- The name attribute specifies the name of the variable.
- The rows attribute specifies the number of lines the text box should have.
- The cols attribute specifies the text box width in number of characters.
- The maxlength attribute specifies the maximum character limit allowed to be entered in the text box. There can also be a minlength attribute.
- The text between the opening and closing tags will be inside the text box (pre-formatted), and will be sent as the value of the variable. This is different to the placeholder attribute, which is not associated with the variable.