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