Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I’m having problems with programming HTML5.
I am a self-taught web developer learning HTML5 for a re-launch of a client’s website.
What is the quickest way to take the current XHTML 1.x pages and make them HTML5?
Plus, can I still use XHTML 1 validators?

share|improve this question
up vote 0 down vote accepted

This depends on your definition for “HTML5”. HTML5 is work in progress, and we normally see a new version literally every day, if we regard HTML 5.1 Nightly as the current definition for HTML5, as many people do.

The quickest way is probably anyway to submit the document to in HTML5 mode and then fix whatever problems are reported. This does not guarantee conformance to HTML5 (which here means “what the authors of the validator regard as applicable in HTML 5.1 Nightly”), however. Many conformance requirements can only be checked by a human being that knows HTML5 and understands the content of the page.

It might not be very quick, depending on the page. You might need to spend quite some time in learning HTML5 rules and also CSS, since many constructs that are valid in XHTML 1.x, especially in XHTML 1.0 Transitional, are forbidden in HTML5 (though they work excellently in browsers) and need to be replaced by CSS (mostly).

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .