Html paragrah closing tags

tags are used to end a paragraph..i haven't used a closing tag still the cursor goes to next line..can you explain why?

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.