HTML5   发布时间:2022-04-25  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了html5 – 在Firefox中,输入中的控制台“XML Parsing Error:mismatched tag”出错大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
在Firefox中打开我的页面时出现以下@L_673_1@(其他浏览器不显示此@L_673_1@).我正在使用 HTML5,如果我尝试在输入上放置结束标记,那么页面验证失败.

html5 – 在Firefox中,输入中的控制台“XML Parsing Error:mismatched tag”出错

<!DOCTYPE html>

<html>
  <head>
    <Meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <Meta http-equiv="X-UA-Compatible" content="IE=Edge" >
    <!--... more here...-->
  </head>
  <body>
    <!--... more here...-->
    <input type="text" id="wall_color_picker" onclick="startColorPicker(this)" title="Wall Color" value="#FFFFFF">
    <!--... more here...-->
  </body>
</html>

编辑1:Firefox版本最新(59.0.2(64位))

编辑2:响应标头:

Cache-Control   max-age=604800,public
Connection  Keep-Alive
Content-type    text/html; charset=UTF-8
Date    Tue,24 Apr 2018 16:04:19 GMT
Keep-Alive  timeout=5,max=100
Server  Apache/2.4.6 (Red Hat Enterpri…penSSL/1.0.2k-fips PHP/5.6.35
Strict-Transport-Security   max-age=31536000; includeSubdomains;
transfer-encoding    chunked
X-Powered-By    PHP/5.6.35

解决方法

由于您的< input>没有内容,所以人们不会关闭标记< input>< / input>但在你的情况下,在它结束时关闭它,如此< input type =“text”id =“wall_color_picker”onclick =“startColorPicker(this)”title =“Wall Color”value =“#FFFFFF”/>

请尝试以下方式,

<!DOCTYPE html>

<html>
  <head>
    <Meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <Meta http-equiv="X-UA-Compatible" content="IE=Edge" >
    <!--... more here...-->
  </head>
  <body>
    <!--... more here...-->
    <input type="text" id="wall_color_picker" onclick="startColorPicker(this)" title="Wall Color" value="#FFFFFF"/>
    <!--... more here...-->
  </body>
</html>

希望这可以帮助

大佬总结

以上是大佬教程为你收集整理的html5 – 在Firefox中,输入中的控制台“XML Parsing Error:mismatched tag”出错全部内容,希望文章能够帮你解决html5 – 在Firefox中,输入中的控制台“XML Parsing Error:mismatched tag”出错所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。