菜鸟菜鸟菜菜鸟

占位符(placeholder text)

占位符(placeholder text)是用户在input(输入)框输入任何东西之前放置在input(输入)框中的预定义文本。

你可以用如下方式创建占位符:

<input type="text" placeholder="this is placeholder text">

posted on 2016-09-13 20:09  菜鸟菜鸟菜菜鸟  阅读(1101)  评论(0)    收藏  举报

导航