This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Why do you want to use the HTML file at this stage?
Usually you will develop an applet with pure Java code, bundle it in a jar and just reference it in your html. For development purposes you do not/should not use the html at all.