|
Posted by Luigi Donatello Asero on 05/22/06 20:26
"Martin Jay" <martin@spam-free.org.uk> skrev i meddelandet
news:2HpR1KVBDfcEFwde@spam-free.org.uk...
> 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.
No, I cannot. So the only way seems to try and validate only the main
document which includes the menu as well.
Now https://www.scaiecat-spa-gigi.com/it/benvenuti.php validates
> 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>
> --
Well, I have a <div class="subsection" id="head">
in between with a kind of introduction.
--
Luigi Donatello Asero
https://www.scaiecat-spa-gigi.com/
Write in peace for peace
Navigation:
[Reply to this message]
|