Use Firefox's "View source" (Ctrl+U), and look for red text. For example, this page has two errors:

PHPStorm also highlights some HTML errors. For example:

Put the mouse cursor on the underlined text to see what PHPStorm thinks the error is:

PHPStorm won't detect all of your errors. For example, it didn't detect the one in this screen shot, for me, anyway:

Book traversal links for Finding HTML errors