0

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?

1 Answer 1

0

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 http://validator.nu 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).

You must log in to answer this question.

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