English 中文(简体)
紫外线验证并不承认我的进口文件?
原标题:HTML Strict validation is not recognizing my imported documents?

我刚刚证实我的网页,并通过错误开展工作。 我的假想是,我有通过<代码><进口一个头盔档案的结构?php包括(头盔.php)?>,还有我的导航档案。 现在,在浏览器中看到这一工程,但当我用XHMTL1.1严格验证时,就会产生错误。

因此,我有一个指数.php,进口头盔。 php和导航。 php——现在我写这封信时,我认识到这一导航。 php没有获得进口的单子文件,但有效者是否不仅阅读了html? 这样,它就应当加以处理,并看到它得到信息?

让我知道,我是否在这样做的正确轨道上,否则,你似乎牺牲了一个结构化的网站?

Cheerseff PS 幸福新年:-

EDIT CODE:

URI: http://thepalmsmarket.co.nz/index.php a 276 9 there is no attribute "id" a 276 24 there is no attribute "class" a 276 38 element "nav" undefined

我是最后的错误,与本法典有关:

指数:

<?php include_once ("01includes/header.php"); ?>

</head><!--hmtl tag closes in the footer--> 

<body class="no-js"><!--The script here is to disable the class put into the body tag if javascript is enabled.--> 
<?php include_once ("01includes/navigation.php"); ?>

导航:

<nav id="topNav" class="centeredmenu">  
<ul>
    <?php
        $subject_set = mysql_query("SELECT * FROM webMenu", $dbconnect);
        if (!$subject_set) {
        die("Database query failed: " . mysql_error());
        }
        while ($subject = mysql_fetch_array($subject_set)) {
        echo "<li class="{$subject["class"]}"><a href="   {$subject["link"]}" onclick="{$subject["javascript"]}" title="{$subject["title"]}">{$subject["menuItem"]}</a></li>"; }
    ?>
</ul>

c在进口到头盔的 desktop中申报。 php,但不航行。 php,因为这将翻一番——希望是有意义的:-

最佳回答

好消息:与购买力平价无关。 您似乎正在使用<代码>nav tag,该标签是用超文本5新写的,同时在XVD 1.1 Strict有效。 如果你转向超文本5的申报,以便你能够使用<代码>nav<>/code>,以正确、连贯的方式,那么,你必须cha开几处其他的验证错误(主要是与元件相关的,然后使用一个经过折旧的<代码> > 边界,在你的代码中进一步标明——验证错误应当是自我解释的。 如果你想要保持X射线,那么将使用<代码>nav有效。

问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签