|
Posted by dorayme on 03/07/06 05:29
In article <duiahe$54t$1$8300dec7@news.demon.co.uk>,
David Dorward <dorward@yahoo.com> wrote:
> 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">
Yes, to best learn and do things right. But I would say, looking
at your site, just for now, use the transitional one you have for
practical purposes on line (it is more forgiving and will not
worry you so much - esp. if you have this site out there making
money). Work off line on a strict dtd. Till you are happy...
--
dorayme
Navigation:
[Reply to this message]
|