Why doesn't HTML have error messages? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Why doesn't HTML have error messages?

Sooo, I did make some HTML codes but if I write something wrong, it doesn't show an error message. The same with CSS. I know that they aren't scripting languages but still, I feel like they should have error messages.

20th Oct 2019, 4:27 PM
CeePlusPlus
CeePlusPlus - avatar
1 Answer
+ 6
Browsers parse HTML code permissively. This means, the code is parsed best possible, even if there are errors. You can use the Markup Validation Service of W3C to check your HTML code for markup validity: https://validator.w3.org
20th Oct 2019, 4:41 PM
Michael
Michael - avatar