Automatic converter from HTML to XHTML | Flavio's blog
 

Automatic converter from HTML to XHTML

As there were some problems viewing the layout of the blog with Internet Explorer, I preferred to resolve the errors with the help of w3c validator (and in fact, solving them all, the problems have been solved).

Since WordPress “kindly” recommended to use the XHTML, and being all the rest of the site in HTML, to avoid problems in the future I converted all the other pages in XHTML (taking the opportunity to fix mistakes there too scattered).

Convert the code, especially if you do not know the XHTML can be a chore, and here came to the aid of a tool to automatically convert the code: HTML to XHTML converter

You simply paste your HTML code in the box and click the button, and then paste the new code can be converted into your page…

I must say that was a good opportunity to convert to peck of filth that had accumulated over many years in the pages (more than one tag , tags written in uppercase, tag open and never closed), and since XHTML is a little more “severe” dell’HTML, must necessarily fix all the tags in order to validate the page.

In conclusion, a board: If you do not want to waste time after, crazy to understand why you see a page in a browser and not in another, Always validate your pages with the w3c validator, Whether HTML or XHTML 😛

 

1 Comment »

Please accept third-party cookies to be able to comment on the post! The CHANGE COOKIE CHOICES button is located in the footer of the site. / In order to comment this post, please accept the third party cookies! The button CAMBIA LE SCELTE DEI COOKIE is in the footer of the website.