0

I write something after ending HTML just to check type of errors but I found the same thing is in output. Any explanation?

Run program in solo-learn app

10th May 2017, 11:23 AM
Manoj Mudgal
Manoj Mudgal - avatar
2 ответов
+ 3
Html is permissive: interpreters ( browsers, app... ) are expected to output a malformed document... So, internally, your </html> is ignored and reported at the end. But you cannot be sure that every browsers will correct it as this... It's also logical to consider to ignore what is after the </html> :P
10th May 2017, 11:37 AM
visph
visph - avatar
+ 1
You will get output too if you rename any text file (without any tags) to html and open it in browser.
10th May 2017, 12:01 PM
Calviղ
Calviղ - avatar