With PHPStorm open, go to File->Default Settings->Editor->File Types
Simply add a new file extension named *.htm* to the PHP file type. Click Apply, allow for a few moments of indexing as PHPStorm applies new syntax highlighting to the files in your project. See screenshot below for what your wildcards should look like.