Home  >  Article  >  Web Front-end  >  <input type="textarea">和标签<textarea>有区别吗?

<input type="textarea">和标签<textarea>有区别吗?

PHP中文网
PHP中文网Original
2017-04-01 14:23:285020browse

1.为什么做输入框用  

<input type="textarea">

焦点是居中的,怎么实现用input,使焦点也在左上角?

1384.jpg

用4750256ae76b6b9d804861d8f69e79d340587128eee8df8f03d0b607fe983014
1.焦点就默认左上角
2.用4750256ae76b6b9d804861d8f69e79d3也能用c4a60d4160785f86c60f156106285f3b吗?

1385.jpg

回复讨论(解决方案)

直接用textarea,,,表单能正确获取内容。。。没有必要用label吧。。。

 以上就是09d92763a8acb1bdb691e04473dce997和标签4750256ae76b6b9d804861d8f69e79d3有区别吗?的内容,更多相关内容请关注PHP中文网(www.php.cn)!


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