+ 1

Can the html tag executes if it is at outside of html closing tag?

When I typed <hr> after the html closing tag ,it get executed .But it is not possible Right?

10th Aug 2019, 10:49 AM
Indu Devarashetty
Indu Devarashetty - avatar
3 Answers
+ 6
The parser corrects your mistakes, it will also display tags that don't exist and add quotes if they are missing from attributes etc... But that varies from browser to browser that's why we follow the safe practices.
10th Aug 2019, 10:58 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
HTML files have to be read and converted to graphical output, the parser is breaking down the syntax and making html browser-readable.
11th Aug 2019, 8:08 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 1
What is parser? I'm just begginer
11th Aug 2019, 5:17 AM
Indu Devarashetty
Indu Devarashetty - avatar