Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: let's have valid html

by hossman (Prior)
on Nov 16, 2004 at 22:26 UTC ( [id://408275]=note: print w/replies, xml ) Need Help??


in reply to let's have valid html

I would concur with the goal of xhtml ... it's time to step into the 21st century. The question i would ask is: xhtml1 (which has been stable, but is allready 2 years old) or xhtml2 (which is a lot more current, but not officially finalized) ?

?

Replies are listed 'Best First'.
Re^2: let's have valid html
by Aristotle (Chancellor) on Dec 19, 2004 at 16:56 UTC

    There's a long road ahead till browsers actually support XHTML 2.0 — even decently compliant engines such as Gecko aren't nearly there yet.

    XHTML 1.1 Strict is what you should aim for at the moment, if you are serious about compliance. It's problematic for us though, for reasons I state elsewhere in the thread.

    Makeshifts last the longest.

Re^2: let's have valid html
by apotheon (Deacon) on Nov 17, 2004 at 09:42 UTC

    What are the major differences?

    - apotheon
    CopyWrite Chad Perrin

      IIRC, xhtml 2 removes everything that was marked depreciated in HTML 4.01, which is a major huge change, both in as much as it changes a lot, and in as much as it seemed, prior to that, to support everything that had ever been in common use.


      Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).

      I'm no expert, but theorbittwo's assessment sounds about right to me. All in all there are some pretty weighty changes.

      For example, check out this little gem from the xhtml FAQ...

      Is <img> being replaced by <object> in XHTML2?

      No. <img> is being replaced in XHTML2, but by something else ...

      What XHTML2 does is say that all images are equivalent to some piece of content; it does this by allowing you to put a src attribute on any element at all. What this says is: if the image is available, and the browser can process it, use it, otherwise use the content of the element. For instance:...

      Take a look at the elements in xhtml2 to get a sense of how much has changed.

        Wow. I should have been paying more attention to the evolution of XHTML standards. That is a great move toward more-elegant code in Web markup.

        - apotheon
        CopyWrite Chad Perrin

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://408275]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2024-04-25 12:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found