firefox呈现问题

firefox呈现问题,firefox,Firefox,我在一个网页上看到了以上内容,所有浏览器都能正确理解它,但firefox会打印出来 -----------------------------------开发链接------------------------------------------------------------- 在页面顶部,这里出了什么问题?试试: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1

我在一个网页上看到了以上内容,所有浏览器都能正确理解它,但firefox会打印出来 -----------------------------------开发链接------------------------------------------------------------- 在页面顶部,这里出了什么问题?

试试:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <!-- load jquery and load it before anything else -->

    <!----------------------------------- Developement links ------------------------------------------------------------->
    <script type="text/javascript" src="../Scripts/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="../Scripts/jqueryValidator/jquery.validate.js"></script>
    <!-------------------------------------------------------------------------------------------------------------------->
<title>
</title></head>

或者使用破折号以外的其他符号,它用于指示注释的结束和开始,多个破折号可能会混淆用户代理

<!-- Development links -->


您可以在前两个破折号和后续破折号之间留一个空格,我只使用星号。

验证器是您的朋友。
<!-- ******************************* Development links ************************* -->