You are here: Re: html vaildation « HTML « IT news, forums, messages
Re: html vaildation

Posted by David Dorward on 03/06/06 23:43

terry wrote:

> I do have one more error that I could use help with. The DOC TYPE ... I
> don't know what I have or even how to find out. I know that sounds
> idiotic but what can I say. I've read stuff on w3.org and other sites
> but I've never run across a way to determine what I have. Maybe I'll
> try the "trial and error" method.

Generally you should pick a markup language and write your code to that, and
your choice of markup language will determine the Doctype. Writing tag soup
then trying to guess what Doctype best fits it is pretty much doomed to
failure.

This side of the millennium, browser support for stylesheets is good enough
to switch to HTML 4.01 Strict[1]. We haven't yet reached the stage where
using any form of XHTML is useful for the (vast) majority of authors.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">


[1] With a few rare exceptions ... well ... one exception. The start
attribute for ordered lists, but that doesn't get used often.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is

 

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

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