Good HTML is hard to write. Look up HTML source of several major websites, and you will see how badly indented it is. 95% of them won't validate. Look at this page. It doesn't even have a doctype.
Browsers don't halt when fed less-than-good HTML the same way an interpreter/compiler dies when fed bad syntax.