You are here: Re: Executing php code within an iframe « All PHP « IT news, forums, messages
Re: Executing php code within an iframe

Posted by jojo on 10/16/06 07:19

I V wrote:

>> Whow guys, count to ten, take deep breaths or something! Just for
>> clarification in 4.01 strict the HTML, HEAD and BODY elements are all
>> optional
>
> I don't think that's quite right. The HEAD _element_ is required,
> but neither start nor end tags are required:

[quote from from http://www.w3.org/TR/html4/sgml/dtd.html#html.content ]

>> However if you use a TITLE, both opening and closing tag are required
>> and is to be within the HEAD.
>> http://www.w3.org/TR/html4/struct/global.html#edef-TITLE
>
> The TITLE element is also required:

[quotes from (from http://www.w3.org/TR/html4/sgml/dtd.html#head.content
and from http://www.w3.org/TR/html4/struct/global.html#edef-TITLE ]

> jojo is quite right here.

Just for the ones who are interested in: a document without a <head> but
a <title> validates fine. A document with a <head> but no <title> or
with neither a head nor a title doesn't. Try it out:

<title> only:
http://validator.w3.org/check?uri=www.hafner-web.de/Jojo/Test/title_only.htm&ss=1

<head> only:
http://validator.w3.org/check?uri=www.hafner-web.de/Jojo/Test/head_only.htm&ss=1

neither <head> nor <title>:
http://validator.w3.org/check?uri=www.hafner-web.de/Jojo/Test/neither_nor.htm&ss=1

 

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

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