That's because you gave the file a .html extension. HTML files aren't parsed by the PHP interpreter for PHP code - they're just passed along to the user as-is.
Try renaming the file to have a .php extension instead.
EDIT:
xXRamboNoobXx wrote:my php is written 100% correctly
That's quite a subjective statement... and not one I would agree with, either. 😉