...用户输入的信息,在我们平常使用的表单之中,每个字段包含著某一类型的信息(如姓名、性别等)。 占位符文本(Placeholder text),又叫提示文本,位于表单文本框里面,一般用于提示用户填写。在大多数的做法中,当用户开始输入,这些提示文本会自动消失。
基于64个网页-相关网页
Also notice that several of the elements have placeholder text.
还要注意几个拥有placeholder文本的元素。
We'll then put some placeholder text in the second row where we are later going to display the search results.
然后我们在第二行放一些占位文字,稍后我们会在这里显示搜索结果。
First, all of the fields use the placeholder attribute. This is an HTML5 feature that causes the placeholder text to be shown until that field gains focus.
首先,所有字段都使用占位符属性,这是一个HTML5特性,因此会一直显示占位符文本,直至该字段获得焦点。
应用推荐