How to Setup a NetLogo Applet on a web page.
See the applet setup guide in the NetLogo documention. It's quite complete.
Also, when you use NetLogo's Save As Applet command, the resulting .HTML file itself contains detailed instructions.
What follows is a barebones summary.
To run a NetLogo model on a web page, you need at least four things:
In the sample below, xxx must be replaced with the width of the model, in pixels. yyy must be replaced with the height, and zzzzzzzzzz must be replaced with the name of your model.
The .html file, at minimum, looks like this: