How do I wrap text in a tag in HTML?
Answers
Answered by
0
<textarea wrap>
- The wrap attribute is used to tell the browser whether or not to add newlines when a form is submitted so that the text is wrapped at a defined width.
- There are two possible values used with the wrap attribute: soft and hard.
- If the soft value is used, no newlines will be added to the submitted value.
- If the hard value is used a newline character (a character entity) will be added after the number of characters indicated in the cols attribute.
- For example, when the text area below was submitted a newline would be added after ever 40 characters.
Similar questions
Hindi,
7 months ago
Math,
7 months ago
English,
1 year ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago