Correct HTML syntax errors