Comparatively HTML5 is very lenient in its spec. Browsers are even more lenient in their implementation.
Do you have any examples of undefined or linient rules?
I'm a big fan of optional closing tags that HTML5 has. Can do stuff like:
<h2> Todo List <ul> <li> Do task A <li> Do task B <p> Dear Diary, ...