sample:
h2 sample h2 …produces same output as…h2 sample /h2…[
so why is a closing tag needed,ironically it gives same o/p…
sample:
h2 sample h2 …produces same output as…h2 sample /h2…[
so why is a closing tag needed,ironically it gives same o/p…
People write shitty code and then users complain that sites don’t work. This (and poor standards) lead browsers to be more and more permissive when it comes to parsing. So your impression is true, but don’t be silly and rely on browser whims — close your tags.
Tag markup-s are not needed in some situation, but it is preferred to use correct markup in html page.