0
Why is html so different ?
Often times when you do something wrong in html For example : You assign the scope attribute to random text like : <th scope = "srrrwthgtur" > a </th> Nothing really happens . Ok I don't know enough "languages for programming " but I know for a fact this should return some sort of error , but it runs just fine
3 RĂ©ponses
+ 6
As far as I know html does not return errors. It doesn't show anything when an error is there..
EDIT: AND html is not a programming languages.
https://www.w3schools.com/html/html_intro.asp
+ 5
Browsers are very error-tolerant.
Concerning HTML and CSS, the browser will usually just ignore everything that it can't make sense of.
On the one hand, this may be an advantage. Even if the developer messes up the page, a user may be still able get at least some information.
On the other hand, this makes it very difficult for a developer â especially a beginner â to validate their code.
For HTML, you can use validators that roughly check whether your site corresponds to HTML5 standards. (Like this one: https://validator.w3.org/)
For Javascript, browsers have dev options that include a Javascript console.
+ 1
HTML is a design component
We can create any kind of websites
CSS is a component improve styles
JS is the component provides client side validations