Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 245347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:04:52+00:00 2026-05-11T21:04:52+00:00

I wonder why I should use XHTML instead of HTML. XHTML is supposed to

  • 0

I wonder why I should use XHTML instead of HTML.

XHTML is supposed to be “modularized”, but I haven’t seen any server side language take advantage of any of that.

XHTML is also more strict, and I don’t see the advantage. What does XHTML offer that I need so bad? How does it make my code “better”?

EDIT: another question I found in the comments: Does XHTML parse faster than HTML?

EDIT2: after reading all your comments and the links, I indeed agree that another post deserves to be the correct answer, so I chose the one that directly links to the best source.

Also, goes to show that people upvote the green comment without even reading it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:04:52+00:00Added an answer on May 11, 2026 at 9:04 pm

    You should read Beware of XHTML, which is an informative article that warns about some of the pitfalls of XHTML over HTML.

    I was pretty gung-ho about XHTML until I read it, but it does make several valid points. Including the following bit;

    XHTML 1.x is not “future-compatible”. XHTML 2, currently in the drafting stages, is not backwards-compatible with XHTML 1.x. XHTML 2 will have lots of major changes to the way documents are written and structured, and even if you already have your site written in XHTML 1.1, a complete site rewrite will usually be necessary in order to convert it to proper XHTML 2. A simple XSL transformation will not be sufficient in most cases, because some semantics won’t translate properly.

    HTML 4.01 is actually more future-compatible. A valid HTML 4.01 document written to modern support levels will be valid HTML 5, and HTML 5 is where the majority of attention is from browser developers and the W3C.

    Future compatibility can be huge when working on some projects. The article goes on to make several other good points, but I think that may have stood out the most for me.

    Don’t mistake the article for a rant against XHTML, the author does talk about the good points of XHTML, but it is good to be aware of the shortcomings before you dive in.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wonder why I should use: puts In folder #{File.join ENV[HOME], projects} Instead of:
I wonder how I should use the GTree (from GLib) to store data? Every
I wonder what is the best C# data structure I should use to sort
I wonder if I should use the CAS protocol or OAuth + some authentication
Working on my AsyncTask I wonder why I should use the onPostExecute() 's parameter,
I wonder where should we use lambda expression over functor in C++. To me,
I've read some tutorials about EMF and I still wonder why I should use
I have this db below. I wonder how I should use the ID to
I tend to use CGFloat all over the place, but I wonder if I
Is there any reasonable use case, where one should use const pointer over reference?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.