|
Posted by cwdjrxyz on 07/19/06 18:27
Geoff Berrow wrote:
> Message-ID: <1153326410.946395.313070@h48g2000cwc.googlegroups.com> from
> cwdjrxyz contained the following:
>
> >If I were teaching a programming course, I
> >would require that all programs be written in xhtml 1.1 as well as html
> >4.01 strict
My complete statement was:
"If I were teaching a programming course, I
would require that all programs be written in xhtml 1.1 as well as html
4.01 strict or be given a reason of why a program can not be written
in xhtml 1.1."
> Why both? They are two separate things used for different reasons.
An xhtml program can be pure html, pure xml, or a combination of both.
Thus an xhtml program that has no xml only functions in some cases is
about the same as an html 4.01 strict program with the addition of a
few special things, such as closing everything, using lower case
characters only, etc. In that case the html 4.01 strict page works just
as well and does not require a special version for IE. However some
xhtml pages may contain xml content that is best handled by xhtml, or
in some cases xml only. Thus I needed an exception and would require
the reason for the exception to see if it was understood why the
exception was necessary, or far more practical. I should also have
included the inverse case when the xhtml page can not be written as
html 4.01 strict without undue complication, often because of the xml
content in the xhtml page.
[Back to original message]
|