0

What is a code validator? (HTML)

After getting tons of suggestions to use it, why is a code validator so important? Just a beginner here sorry.

3rd Nov 2019, 7:41 AM
Theodore206
Theodore206 - avatar
2 Respostas
+ 2
Validator can help you to discover mistakes in your code, broken links etc. Although browsers are mostly able to render even invalid html, it is much better to learn to do it right. The errors in html can cause problems to some browsers, your client side scripts can have unexpected results or it may be more difficult to extract (scrape) the page content. Example of a validator: https://validator.w3.org/
3rd Nov 2019, 2:36 PM
Michal Straka
Michal Straka - avatar
+ 1
Its when a program helps check your code and tells you if there's issues.
3rd Nov 2019, 2:32 PM
Lorecan de Robillard
Lorecan de Robillard - avatar