Home > Article > Web Front-end > How to enter multiple lines of text in HTML
HTML 4750256ae76b6b9d804861d8f69e79d3 tag
#All browsers support the 4750256ae76b6b9d804861d8f69e79d3 tag.
Definition and usage
4750256ae76b6b9d804861d8f69e79d3 tag defines a multi-line text input control. .
You can specify the size of the textarea through the cols and rows attributes, but a better way is to use the CSS height and width attributes.
Note: Use "%OD%OA" (carriage return/line feed) to separate lines of text in the text input area.
Tips: You can set the line wrapping mode in the text input area through the wrap attribute of the 4750256ae76b6b9d804861d8f69e79d3 tag.
Example<textarea rows="3" cols="20"> 在php中文网,你可以找到你所需要的所有的网站建设教程。 </textarea>Rendering:
##
The above is the detailed content of How to enter multiple lines of text in HTML. For more information, please follow other related articles on the PHP Chinese website!