Reply to Re: body tags in an include?

Your name:

Reply:


Posted by Jim Carlock on 04/01/06 11:31

"Big Bill" <kruse@cityscape.co.uk> wrote:
> Perhaps I should have put "Multiple body tags in one page
> due to php includes using them, one pair per include". Is that
> any clearer?

There's only supposed to be one <head> section and only one
<body> section in any document. Including more than one of
either/or (1) throws a browser into quirks mode, (2) creates an
invalid document, (3) makes debugging harder, (4) adds more
unnecessary content to the page, making the page bigger, which
in turn slows down the delivery of the page and (5) it serves no
purpose.

I see no reason for placing multiple <body> tags in any HTML
document.

Hope that helps.

Jim Carlock
Post replies to the group.

[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

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