阿卡什
我textarea
在我使用过一个属性的地方使用了一个,placeholder
但我发现占位符在除 safari 之外的所有其他浏览器中都有效。
<textarea class="concerncommentArea" placeholder="Place you comment here"/>"> </textarea>
有人可以帮助我如何在 safari 中显示占位符吗?我正在使用 safari v5.1.7
在 Inspect element 控制台中,输出是这样的。
弗兰克
因为您在开始和结束标记之间有一个空格,<textarea> </textarea>
并且您的语法是错误的。请试试:
<textarea class="concerncommentArea" placeholder="Place you comment here"></textarea>
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
编辑于
我来说两句