Added head includes and changed html extensions to php.