Reply to Re: <div class="section" id="menu"> or <div class="subsection" id="menu">

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация