Finding HTML errors

Tags

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

Error

PHPStorm also highlights some HTML errors. For example:

Error in PHPStorm

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

PHPStorm's explanation of the error

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

Error not detected