【发布时间】:2016-05-26 16:53:44
【问题描述】:
我有这个输入
<input class="form-control input-lg" type="text" placeholder="Name" name="name">
由于我的表单没有标签并且我依赖占位符,是否可以放置类似的元素
<sup>*</sup>
以便我可以向用户显示此字段是必需的。
我试过了,但没用。
有没有办法做到这一点?
我的表单
【问题讨论】:
-
你不能用
<input ><sup>*</sup>吗? -
satpal 不工作
标签: html placeholder