|
Posted by Andy Dingley on 02/16/07 18:25
On 16 Feb, 17:41, rem6...@yahoo.com (robert maas, see http://
tinyurl.com/uh3t) wrote:
> > Do not use XHTML unless you have a compelling reason to do so.
>
> Shall I over-interpret that to also mean I shouldn't even *try* to
> write code that is transitional between HTML and XHTML?
There is no code that is "transitional between HTML and XHTML"
In web-design, "transitional" means something else entirely. Don't
confuse it.
A notion of being, let's say, "midway" between HTML and XHTML is a
possibility to discuss, but impossible to implement. There is no way
to tell a browser that it's "midway" code and to work with it on that
basis. Browsers decide that it's one or the other and then work on
that basis entirely. A browser simply doesn't care about "midway",
it's just looking at it from one aspect.
There is a concept of coding a document to be "midway" between HTML
and XHTML. The idea isn't really that it's midway, more that it's both
simultaneously. No matter which format the browser decides to treat is
as, it will still work. This is what Appendix C XHTML is about. It's
an XML document that also works as a HTML document.
Of course, this is all unnecessary and should be ignored totally in
favour of pure and simple HTML 4.01 Strict.
> the whole idea of doing that which the class instructor insisted
The instructor insisted on nothing of the sort.
You mis-understood the instructor.
I know, I wasn't there. But every likelihood supports this
interpretation as being either most likely, or most useful for the
purpose of future progress.
Navigation:
[Reply to this message]
|