Click here to get back home

html 4.01, xhtml 1.0 or xhtml 1.1

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
html 4.01, xhtml 1.0 or xhtml 1.1 Denis McMahon 07-19-2008
Get Chitika Premium
Posted by Denis McMahon on July 19, 2008, 3:31 pm
Please log in for more thread options
Having tried to move a site from badly written html to standards
compliant html recently, I found myself considering, for the first time,
whether to use html 4.01 strict, xhtml 1.0 strict or xhtml 1.1.

Firstly, it's my understanding that xhtml 1.0 is meant to be a "stepping
stone", which means that it's probably not an ideal candidate.

However, it also seems that xhtml 1.1 has a few issues including:

a) ie 6 and 7 (and possibly 8) doesn't recognise the mimetype
b) w3c gives a validation warning if you serve it up with the wrong mimetype
c) I need to find a way to fix code that currently uses code like
"document.getElementById(<id>).innerHTML = [empty] string" to add or
remove text.

So, the choice is the mature and widely supported html 4.01, a stepping
stone (xhtml 1.0), or the not fully supported xhtml 1.1.

I'm inclined to go for html 4.01 strict, can anyone convince me that
this is the wrong decision at the moment?

Denis McMahon

Posted by C A Upsdell on July 19, 2008, 3:50 pm
Please log in for more thread options
Denis McMahon wrote:
> I'm inclined to go for html 4.01 strict, can anyone convince me that
> this is the wrong decision at the moment?

Using HTML 4.01 Strict is a good choice, but make sure you always
validate your pages for both HTML and CSS: browsers apply the standards
more strictly with a Strict DOCTYPE, so are less tolerant of coding errors.




Posted by Beauregard T. Shagnasty on July 19, 2008, 7:12 pm
Please log in for more thread options
Denis McMahon wrote:

> I'm inclined to go for html 4.01 strict, can anyone convince me that
> this is the wrong decision at the moment?

That is a wise choice.

http://tekrider.net/html/doctype.php

--
-bts
-Friends don't let friends drive Windows

Similar ThreadsPosted
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 20, 2008, 12:28 am
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 20, 2008, 1:56 am
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 21, 2008, 6:05 am
Re: xhtml 1.0, xhtml 1.1, html 4.01, or html 5.X? -Guy Macon July 25, 2008, 8:57 am
More accurate testing of XHTML documents with XHTML Proxy June 5, 2006, 6:50 pm
Javascript failing xhtml [xhtml newbe] August 9, 2005, 2:49 pm
Serving XHTML as XHTML does *really* weird things. June 18, 2007, 10:46 am
Old XHTML to new XHTML/CSS: Paragraph line? January 17, 2007, 6:00 am
HTML and XHTML October 11, 2005, 7:20 pm
HTML vs XHTML April 11, 2006, 5:49 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap