下面显示的HTML,
<input type="text"/>
is displayed in a browser like so:
When I add the following text,
那只敏捷的棕色狐狸跳过那条懒狗.
使用下面的HTML,
<input type="text" value="那只敏捷的棕色狐狸跳过那条懒狗."/>
it is displayed in a browser like so:
But I would like it to be displayed in a browser like so:
I want the text in my input element to wrap. Can this be accomplished without a textarea?