You can go by a simple rules that applyes to html,css,c,java...anything.
Stick to the standarts unless you have a good reason to disregard them.
If you do not stick to the standarts document why not.
Sometimes you will run into situations where you have to violate the standarts to write a workaround, or speed up your code or ....whatever.
Whenever you feel you have to disregard the standarts you should write a note WHY you did it,
so you or another developer who runs into piece of html(or CMS code) knows that this is NOT a bug.
And yes sometimes the "good reason" is a deadline or a crashed server. As long as you document it is OK.
Additional pro:
If writting non standard html(or code) that does not comply to the standart is an exception chances are good that you get used to writting clean code.