You are here: Re: what is better strict or xhtml? « HTML « IT news, forums, messages
Re: what is better strict or xhtml?

Posted by Els on 12/19/05 11:19

windandwaves wrote:

> Hi Gurus

Gurus isn't here atm [1]. Can I help you instead?

> What is the most professional standard for creating webpages:
>
> xhtml (
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">) or html strict (
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
> )
> I have been using strict for my websites, but it seems fashionable to go for
> xhtml. What would you recommend?

You could have both if you want:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

I'm not saying it's better than Strict HTML though. Others can explain
exactly why, I only know that not all browsers understand XHTML - IIRC
IE needs to be tricked to think it's really HTML instead of XHTML.


[1] not my own joke - I just repeated it :-)

--
Els http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

 

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

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