Home  >  Article  >  Web Front-end  >  How to enter multiple lines of text in HTML

How to enter multiple lines of text in HTML

(*-*)浩
(*-*)浩Original
2019-11-29 11:40:246334browse

HTML 4750256ae76b6b9d804861d8f69e79d3 tag

How to enter multiple lines of text in HTML

#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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn