title: Embedding Java Applet into .html file
body: <p>I am having trouble embedding my applet into a webpage. I don't think I'm doing it correctly.</p>
  
  <p><em>*</em> I have my html file in the same directory as my .class files</p>
  
  <p>My main method is in CardApp class</p>
  
  <p>This is my html code</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;meta content="text/html; charset=ISO-8859-1"
  http-equiv="content-type"&gt;
  &lt;title&gt;TestJCardBet.html&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;applet codebase="" code="CardApp.class" height="400" width="500"&gt;&lt;/applet&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>