
Now I will show you the code commonly used in the header.php of XHTML WordPress themes. The names of the newly introduced tags are self explanatory about their function, in contrast with div structured XHTML. Now we just need to know where to put the new HTML5 tags of header, footer, nav, section and article. Some lorem ispum text of your post goes here. Several newly introduced elements help us to style and code in an efficient way with less mark up (that is one reason HTML5 is better). HTML5 is a lot more than just the doctype at the very start of your code. Let's have a look at the basic HTML5 layout that we are going to build. We will go step by step, learning the changes through the files listed below (these files are present in your theme folder, i.e. In this tutorial we will concentrate on converting our WordPress theme from XHTML to HTML5.

We will also take care of the 2% of internet users with JavaScript disabled (for backward compatibility). I will teach you how to convert your theme from XHTML to HTML5.

After Google's Panda Update, your site needs clearer and more human-readable code to rank better on Google. Eventually everyone will have to convert WordPress themes from XHTML to HTML5. Soon it will have the full support of most browsers in use today. HTML5 introduces a great set of new features and easy options.
