|
Posted by Martin Jay on 05/22/06 20:11
In message <xzlcg.1322$E02.433@newsb.telia.net>, Luigi Donatello Asero
<jaggillarfotboll@telia.com> writes
>However the html file menu-italiano.html does not validate
>http://www.htmlhelp.com/cgi-bin/validate.cgi?url=https%3A%2F%2Fwww.scai
>ecat-spa-gigi.com%2Fit%2Fmenu-italiano.html&warnings=yes
>Now I wonder:
>whether I should add the document type declaration
Why not validate it as part of document it's included in?
Let's say index.php includes menu-italiano.html. Validate index.php and
menu-italiano.html is validated at the same time.
You can't have two document type declaration in the same HTML document.
I prefer to put menus at the top of the HTML document, something like
this:
<h1>Main heading</h1>
<div class="menu">
<h2>Menu</h2>
<ul>
<li>Menu item</li>
<li>Menu item</li>
<li>Menu item</li>
</ul>
</div>
<div class="main_text">
<h2>Document text</h2>
<p>Blah, blah, blah...</p>
</div>
--
Martin Jay
Navigation:
[Reply to this message]
|