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

Top Posters In This Topic

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • 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.