News
Tips to troubleshoot HTML validation errors
Why we spend hours on fixing HTML validation errors? Because we know how much reliability and quality matter when it comes to serving customers through the web. With Drupal, most of the page is generated, and the rest is the content that we type into the editor. If your article contains Markup Validation Errors, it could spoil all the efforts put in building a good website.
For those who want to keep their website updated with new articles and clean at the same time, can go try these tips for troubleshooting HTML validation errors,
- Close all HTML elements
- Close HTML tags in the correct order.
- Convert special characters
1. Replace all '&' with
&
2. When code given inside 'pre' and 'code' tags - Replace all '<' with
<
and '>' with
>
- Use block element to wrap inline elements and not in the other way round
Happy troubleshooting!