Click here to get back home

Differences between HTML 4.01 Strict and HTML 4.01 Transitional?

 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
Differences between HTML 4.01 Strict and HTML 4.01 Transitional? Kieran 05-31-2005
Posted by Kieran on May 31, 2005, 7:13 pm
Please log in for more thread options


I am designing a content management system and I want to make sure all pages
entered into it's database by users are using valid HTML. I have designed
the system to use HTML 4.01 Transitional throughout, however the php powered
html checker I have only caters for HTML 4.01 Strict.

If possible I need to know the complete differences between Strict and
Transitional so I can go through the php script and correctly set it up to
properly check pages are using 4.01 Transitional before submission to the
database is allowed by the system.

Is there anyone who knows where a list of these differences can be found?

I have found this one for XHTML Strict and Transitional but nothing as yet
for HTML.

http://liorean.web-graphics.com/xhtml/comparison.loose-strict.html

Thanks in advance for any help on this!

Kieran



Posted by David Dorward on May 31, 2005, 7:24 pm
Please log in for more thread options


Kieran wrote:

> If possible I need to know the complete differences between Strict and
> Transitional so I can go through the php script and correctly set it up to
> properly check pages are using 4.01 Transitional before submission to the
> database is allowed by the system.

Strict is Transitional with most of the stuff that you shouldn't use
removed.

> Is there anyone who knows where a list of these differences can be found?

http://www.w3.org/TR/html4/index/elements.html
http://www.w3.org/TR/html4/index/attributes.html

Elements and attributes that appear in Transtional but not Strict are marked
with an "L" in the DTD column. There are some other differences, such as
<form> and <body> elements being allowed to hold only block level elements
in Strict, but are allowed Inline elements in Transitional.

> I have found this one for XHTML Strict and Transitional but nothing as yet
> for HTML.
>
> http://liorean.web-graphics.com/xhtml/comparison.loose-strict.html

Assuming you mean XHTML 1.0 Strict and Transitional, then the differences
between those are exactly the same as the differences between 4.01 Strict
and Transitional. XHTML 1.0 is HTML 4.01 expressed in XML.

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

Posted by Kieran on June 1, 2005, 10:46 am
Please log in for more thread options


> Kieran wrote:
>
>> If possible I need to know the complete differences between Strict and
>> Transitional so I can go through the php script and correctly set it up
>> to
>> properly check pages are using 4.01 Transitional before submission to the
>> database is allowed by the system.
>
> Strict is Transitional with most of the stuff that you shouldn't use
> removed.
>
>> Is there anyone who knows where a list of these differences can be found?
>
> http://www.w3.org/TR/html4/index/elements.html
> http://www.w3.org/TR/html4/index/attributes.html
>
> Elements and attributes that appear in Transtional but not Strict are
> marked
> with an "L" in the DTD column. There are some other differences, such as
> <form> and <body> elements being allowed to hold only block level elements
> in Strict, but are allowed Inline elements in Transitional.
>
>> I have found this one for XHTML Strict and Transitional but nothing as
>> yet
>> for HTML.
>>
>> http://liorean.web-graphics.com/xhtml/comparison.loose-strict.html
>
> Assuming you mean XHTML 1.0 Strict and Transitional, then the differences
> between those are exactly the same as the differences between 4.01 Strict
> and Transitional. XHTML 1.0 is HTML 4.01 expressed in XML.


Ah, that's very helpful - thanks a lot for this info. I had been assuming
there were documents knocking around that would indicate this kind of thing
I just didn't know quite where to find/how to interpret them.

Thanks for the explanation!

Kieran



Posted by Andy Dingley on June 1, 2005, 4:09 pm
Please log in for more thread options


On Wed, 1 Jun 2005 09:46:00 +0100, "Kieran"

>Ah, that's very helpful - thanks a lot for this info. I had been assuming
>there were documents knocking around that would indicate this kind of thing
>I just didn't know quite where to find/how to interpret them.

You really ought to know this stuff instantly before you even think
about writing a CMS. The world has plenty of dodgy CMS already - if
you're going to add to them, make it a good one.



Posted by Kieran on June 2, 2005, 9:30 am
Please log in for more thread options



> On Wed, 1 Jun 2005 09:46:00 +0100, "Kieran"
>
>>Ah, that's very helpful - thanks a lot for this info. I had been assuming
>>there were documents knocking around that would indicate this kind of
>>thing
>>I just didn't know quite where to find/how to interpret them.
>
> You really ought to know this stuff instantly before you even think
> about writing a CMS. The world has plenty of dodgy CMS already - if
> you're going to add to them, make it a good one.
>

Agreed - however the system is it is very modular, and so although the core
HTML would have to be changed in order to fit a different standard, only one
file (the HTML parser) would have to be altered to make everyone's entries
conform to the site's standard.

Also this isn't just like an ordinary run of the mill CMS; certainly not in
terms of integration anyhow ;)

I am however taking on board what is being said here and am considering
carefully what HTML standard to do the whole thing in - thanks for the
input!

Kieran



Similar ThreadsPosted
HTML 4.01 strict / transitional vs. XHTML 1.0 September 18, 2005, 3:10 pm
Does IE have the same problems with XHTML 1.0 Transitional as it does with HTML Transitional? February 20, 2006, 9:39 am
differences in rendering xhtml and html November 13, 2006, 5:26 am
Validation: XHTML Transitional vs. HTLM 4.01 Strict July 23, 2004, 6:10 pm
Strict vs Transitional XHTML doctype and images January 30, 2007, 5:32 pm
Reasons to use HTML 4.01 Transitional October 30, 2006, 11:30 am
HTML 4.01 Transitional versus Frameset September 3, 2006, 11:22 pm
EMBED-command - HTML 4.01 Transitional alternative? July 17, 2004, 7:42 pm
Help with a table using Strict HTML March 30, 2005, 7:13 pm
xhtml vs html 4 strict May 21, 2005, 5:23 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap