placeholder是input中的属性,就是默认输入的text,当用户输入时,text会被清空。
<input type ="text" placeholder="hello,testor" />
上一篇
下一篇