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]
|