In IE10, I create the following web page, and get an unmatched tag error:
<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body>
<p>
<div>
</div>
</p>
</body>
</html>
I can find no problem with this code. I have narrowed it to having a div inside a paragraph as what is triggering the problem. IE10 reports:
HTML1509: Unmatched end tag.
test.php, line 12 character 2
and is pointing to the paragraph close token. An earlier me might have just ignored it. But I can't make myself do that any more.
I have searched this site for something similar, but have found only legitimate syntax errors; valid explanations for the error, in other words. I know IE is brain-dead, but even post-Bill MSFT can't be silly enough to let a bug like that one, through (can they?). So I am assuming it's me, until proven otherwise. Possibly some subtlety of HTML5 I haven't grokked yet...
` before the `
` after the `
. However since this has almost the same effect as actually enforcing the standard I'm happy to see it. Just be nice if the message made sense