You are here: Re: body tags in an include? « PHP Programming Language « IT news, forums, messages
Re: body tags in an include?

Posted by Big Bill on 04/01/06 21:05

On Sat, 01 Apr 2006 08:45:38 -0500, Jerry Stuckle
<jstucklex@attglobal.net> 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?
>> That's the problem the page has if you look at it, multiple instances
>> of the body tag. I don't believe they should be there as obviously an
>> include shouldn't need to be topped and tailed with a body tag if it's
>> one of several includes in an existing page with its own body tags
>> anyway.
>>
>> BB
>
>Bill,
>
>No, multiple <head> and <body> tags in a document are invalid.
>
>include() effectively just does a "copy and paste" of the new file into the
>existing one. So if both files have <body> tags then you end up with two <body>
>tags, as you found.
>
>And it's time to fire the idiots who places these tags in included files!

Ah, little problem there, you see, it was he who suggested that I be
hired for the optimisation...he has done some stuff in the past I've
worked on that has had great visual appeal but he does need to be
pulled up on a few things.

BB
--

http://www.kruse.co.uk/seo-articles.htm
http://www.here-be-posters.co.uk/motivational-posters-sitemap.htm
http://www.crystal-liaison.com/crystal-world/index.html

 

Navigation:

[Reply to this 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

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