元素“HEAD”的结束标记未打开,XHTML与HTML,Docttype 1.0与Doctype 4.01

时间:2015-09-22 17:19:12

标签: html validation doctype section508

不太确定我做错了什么。我正在尝试解决一些问题,我对此感到困惑。我收到“元素的结束标记”HEAD“未打开”的验证错误。但是看着我的代码,我没有看到它可能在哪里。我知道这个网站曾经有一些XHTML元素,但我删除了这些元素。我希望得到另一套眼睛。如果它有帮助,那么DOCTYPE就是1.0,但我也从中得到了很多问题。

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
            "http://www.w3.org/TR/html4/loose.dtd">
        <html lang="en">
        <head>
        <title>Radio Directory</title>
        <meta name="author"  content="Joe Blow"> 
        <meta name="email"   content="Joe@MyEmail.com">
        <meta name="description" content="The Radio Directory">
        <meta http-equiv="cache-control" content="no-cache,no-store">
        <meta http-equiv="pragma" content="no-cache">
        <meta http-equiv="Expires" content="-1">

        <script type="text/javascript">
        if (self != top)
          top.location = self.location;
        </script>

        <script type="text/javascript">
        if (top.frames.length!=0)
          top.location=self.document.location;
        </script>

        <style type="text/css" media="all">
            @import url("style/main.css");
        </style>
        <link href="style/tablecloth.css" rel="stylesheet" type="text/css" media="screen">
        <script type="text/javascript" src="tablecloth/tablecloth.js"></script>
        </head>

0 个答案:

没有答案
相关问题