Jump to content

HTML XHTML? Any difference?


cs.punk

Recommended Posts

isn't xhtml dead now they have moved away from it and back to html?

I use XHTML convention when I create HTML 5 pages. I find that my web page coding is cleaner. There is also XHTML 5, which is just HTML 5 with XHTML rules added, but I don't use it because I don't know how supported it is.

 

I personally like XHTML. It makes code much cleaner, which makes it easier to troubleshoot other people's code. I think it was a mistake for HTML 5 to allow sloppy coding!

Link to comment
Share on other sites

  • 3 months later...
  • Replies 151
  • Created
  • Last Reply
There is also XHTML 5, which is just HTML 5 with XHTML rules added, but I don't use it because I don't know how supported it is.

 

I realise this an old quote, but I've only just seen it. "XHTML5" is not supported in any way shape or form by any respectable authority, especially not the W3C.

 

I personally like XHTML. It makes code much cleaner, which makes it easier to troubleshoot other people's code. I think it was a mistake for HTML 5 to allow sloppy coding!

 

HTML5 doesn't "allow" sloppy coding, sloppy coders do. Are you trying to say every XHTML declared document you've come across is easy to read? I don't see any justification for HTML documents to be strictly XML-compliant.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.