Did you ever give a thought about semantic html? If your html is semantically correct, then yes, your html is good for SEO. That means appropriately using <h> tag, understanding the between <b>and<strong>t ags. There are quite lot of such subtle difference between semantically sound html and bad html.