Re: does it really exist any xhtml 2?



Gianni Rondinini <bugbarbeq@xxxxxxx> writes:

> said this, i'll stick back to the "old" html 4.01 (eventually xhtml
> 1.0). since i can't see no big differences between them, if not few
> tags closed with [blank]/> and similar,

That is the unfortunate oversimplified view that you'll find in lots of
so-called 'tutorials' and one of the reasons that XML on the web is a
speedy downhill trip to desaster.

Don't compare html and xhtml *at all*. You are doomed to jump to
erroneous conlusions. '/>' in the context of a tag close delimiter
means a literal '>' after the tag in HTML, in the context of an SGML
parser (as the W3C valiation service uses for XHTML) that processes XML
it means *two* delimiters, and for a real XML parser it's actually *one
delimiter*.

In practical terms, you should note that you cannot use document.write
in XHTML at all and that all your STYLE and SCRIPT elements should link
to external files (or you'd need ridiculous escape syntax in many
cases). And so on.

> the biggest difference becomes
> having an icon "w3c html 4.01 compliant" or "w3c xhtml 1.0 compliant"
> at the bottom of my pages. what would you prefer to have? or you don't
> mind not having one nor the other?

Cf.
<http://www.cs.tut.fi/~jkorpela/html/validation.html#icon>


--
||| hexadecimal EBB
o-o decimal 3771
--oOo--( )--oOo-- octal 7273
205 goodbye binary 111010111011
.



Relevant Pages

  • Re: XHTML vs HTML
    ... XHTML pages correctly) what are the benefits to coding now with XHTML ... we're talking about XML here. ... the information that HTML doesn't cut it anymore is nuts. ... into virtually *any* other data format. ...
    (microsoft.public.frontpage.programming)
  • Re: XHTML vs HTML
    ... If you can't raionally argue why XHTML should or should not be persued and ... we're talking about XML here. ... the information that HTML doesn't cut it anymore is nuts. ... into virtually *any* other data format. ...
    (microsoft.public.frontpage.programming)
  • Re: insert text dynamically into textarea
    ... As I am sure you know, XHTML is XML. ... You can easily transform one flavor ... That is why I don't store static HTML. ...
    (comp.lang.javascript)
  • Re: XHTML question
    ... Assuming that you mean pages which extend XHTML by using elements from ... xml code. ... how do you serve a SMIL page as on a xhtml page? ... way is to use a recent Real player to handle the SMIL xml language. ...
    (alt.html)
  • Re: very basic question about xhtml
    ... >XHTML requires a stricter structure, which it inherits from XML. ... understanding of SGML and HTML _as_well_ to really use it wisely. ...
    (alt.html)