如何解决html无法正确显示
我有以下 html:
<div class='contact section-two'>
<input class='info' type='email' name='email' placeholder='email'
value="">
<span class='alerts hidden'>Please enter your email</span>
</div>
但是当我检查开发者工具时,我得到了:
<div class='contact section-two'>
<input class='info' type='email' name='email' placeholder='email' value="">
#shadow-root (user-agent)
<div pseudo="-internal-input-suggested" id="placeholder"
style='display:block!important; user-select:none!important;">
abc@gmail.com</div>
<div></div>
</input>
<span class='alerts hidden'>Please enter your email</span>
</div>
How do I prevent the shadow-root element? Also,why the heck is this
shadow element being added in the first place?
当我在本地主机上运行 html 时,它工作正常。当我在 bluehost 上实时运行它时,我遇到了 shadowhost 问题
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。