wordpress to html5 converter online
As a result of which, most people will have to convert their existing WordPress themes which are present in the XHTML format to HTML5 format. The process might sound abstruse but if our wordpress to html5 converter online guide is read carefully, you can easily convert your WordPress file to html5. Discussed below is a comprehensive method as to how you can carry out this task.
Converting header.php to HTML5
To begin with, you will have to search online for the exact coding which is most commonly used in the header.php of WordPress theme. The reason we’re doing this is to reduce the markup so that it becomes easy to comprehend stuff. As you will notice, the converted code will be quite similar to the XHTML code. Let us discuss the changes done for better understanding.
HTML5 has an extremely easy ‘doctype’, but includes many new semantic tags.
How to convert index.php to HTML5
Once you have searched for the coding required to convert index.php to HTML5, it is prudent of you to gain insight into the changes you made. As a matter of fact, HTML5 will provide you with three layout modeling tags viz. ‘aside’, ‘article’ and ‘section’. The ‘section’ tag replaces the entries’ div, ‘aside’ tag is used for sidebar and the ‘article’ tag replaces the post’s div. Let us discuss these three talking points properly.
Working on the sidebar.php
Having converted the ‘header’ and ‘index’, it is time for us to work on the sidebar. For this purpose, we will make use of