美文网首页
Textarea placeholder not appeari

Textarea placeholder not appeari

作者: JIANGLAODA | 来源:发表于2017-08-26 09:40 被阅读6次

    The opening and closing tags for textarea must be on the same line, otherwise, a newline occupies it, the placeholder will therefore not be displayed since the input area contains a newline character.

    good

    <textarea></textarea>
    

    bad

    <textarea>
    </textarea>
    

    相关文章

      网友评论

          本文标题:Textarea placeholder not appeari

          本文链接:https://www.haomeiwen.com/subject/sydmdxtx.html