I get 'unexpected T_STRING' error

You may get error'unexpected T_STRING' because all .html files are parsed as PHP.

If your .html file contains "<?" or "?>" tags (which shows for file parser that PHP code has started), you can get this error. 

This can also happen with XML files if they are not using correct content type. If order to fix this error you need to remove "<?" and "?>" symbols or entire lines with these symbols from your HTML page source.