HTML debugging examples

What causes errors in HTML?

Unclosed elements: If an element is not closed properly, then its effect can spread to areas you didn't intend

Badly nested elements: Nesting elements properly is also very important for code behaving correctly.
strong strong emphasised? what is this?

Unclosed attributes: Another common source of HTML problems. Let's look at an example:

This text should be 16pt font and red...but it isn't...