Type the URL and click Validate (with https)
HTML Validation Result of theweather.com
After validating, we found 2 errors and 2 warnings.
2 Errors
1. An inline classic “script” element (i.e., a “script” element without a “src” attribute and with a “type” attribute that is either unspecified, empty, or a JavaScript MIME type) must not have an “async” attribute. 1 occurrence
'...noscript> <script async> funct...'
2. The heading “h4” (with computed level 4) follows the heading “h2” (with computed level 2), skipping 1 heading level. 1 occurrence
'..."flex-r"> <h4 class="head-s">Major ...'
2 Warnings
1. Consider avoiding viewport values that prevent users from resizing documents. 1 occurrence
'...ang="ru"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link...'
2. Section lacks heading. Consider using “h2”-“h6” elements to add identifying headings to all sections, or else use a “div” element instead for any cases where no heading is needed. 3 occurrences
'...ncipal "> <section class="flex-top module -sin titulares"> <arti...'
On line 1, column 59047
'...g> </div> <section class="flex-top module -sin titulares"> <arti...'
On line 1, column 83474
'.../section> <section class="grid-3 module"> <arti...'
HTML Validator
HTML validator. Verifies HTML files for compliance with W3C standards and evaluates code quality against best practices.
HTML Validator is a tool that checks your HTML code for errors or mistakes. It's designed to help you ensure that your web pages are properly formatted, semantically correct, and accessible to users. HTML Validator is a great tool for website owners, developers, and designers who want to create high-quality websites that are easy to use and maintain.
How to Use an HTML Validator:
Using an HTML validator is a simple process. Here are the basic steps:
Enter your website URL.
Run the validator: Click the "Validate" button to run the validator. The tool will scan your HTML code and generate a report that lists any errors, warnings, or other issues.
Review the results: Review the results of the validation report to see what errors or issues have been found. The report will highlight the line of code where the issue was detected and provide a brief explanation of the problem.
Fix any errors or issues: Once you've reviewed the validation report, you can start fixing any errors or issues that have been identified. This may involve editing your HTML code, changing the structure of your web pages, or adding additional content to improve accessibility or user experience.
Re-validate your HTML code: After you've made changes to your HTML code, it's a good idea to re-validate your web pages using the HTML validator. This will help ensure that you've fixed all the issues and that your web pages are compliant with HTML standards.
