Reply to Re: The Opera Browser

Your name:

Reply:


Posted by J.O. Aho on 01/31/07 08:29

Beauregard T. Shagnasty wrote:
> fuli open wrote:
>
>> Beauregard T. Shagnasty wrote:
>>> You should add a DOCTYPE to all your pages. Use this at the very
>>> beginning of each page;
>>>
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
>>> "http://www.w3.org/TR/html4/strict.dtd">
>> Which doctype is more adequate for my page, the above one or the
>> following one?
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://
>> www.w3.org/TR/html4/loose.dtd">
>
> Strict is for new pages. One would only use Transitional if one was ..
> well .. transitioning legacy pages and didn't have the time to remove
> ancient 'presentational' HTML code: <font ..>, <center>, stuff like
> that.

Using strict or transitional, don't allow xhtml tags.


> Without a valid doctype of any kind, you push browsers into quirks mode.

As the pages that OP has made uses xhtml too, it's getting even worse.

--

//Aho

[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

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