title: Java applet not showing up on web browser(s)
body: <pre><code>&lt;html&gt;
  &lt;head&gt;
      &lt;title&gt;Applet&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;applet code="Main.class" archive="Applet1.jar" WIDTH=400 HEIGHT=400&gt;&lt;/applet&gt;
      &lt;object codetype="application/java" classid="java:Main.class" archive="Applet1.jar" width="400" height="400"&gt;&lt;/object&gt;
  &lt;/body&gt;
  </code></pre>
  
  <p></p>
  
  <p>This is the code I have used in my HTML file. Tried both applet and object (together and apart) and still no go. However, on Eclipse, my applet is able to work via the applet viewer. I've tried both Firefox and Chrome (and Microsoft Edge), but it's the same case for all of them - the applet simply does not show up on the browser. If I add text to the HTML file, it will appear at the very top left of the screen, so it's not like my browser is blocking and disallowing the applet to configure (I don't think so anyways).</p>
  
  <p>What's the problem? I searched this question on the web and most of them were quite outdated and didn't provide enough information anyways. Any assistance would be much appreciated.</p>
  
  <p>(And yes, my Applet1.jar and the HTML file are in the same folder).</p>