title: Java Applets and html page - embedding multiple applets
body: <p>I have just started to write applets and so have never embedded in a webpage before. I have 2 applets that on there own run fine however when I try to run the 2 applets in the same page only one is visible.  This seems very strange I have tried using the opening and closing foo bar  tags for each applet.</p>
  
  <p>These applets have no connection to each other however I also found that the html  tags were also ignored after the applet which threw the page design out as well, this has totally baffled me.</p>
  
  <p>The code encasing the applets is</p>
  
  <pre><code>&lt;div class="wholeframe"&gt;
     &lt;div class="lframe3"&gt;
         &lt;!-- content for left frame to go here --&gt;
         &lt;h2&gt;Basic Java Swing Applet&lt;/h2&gt;
         &lt;br /&gt;
         &lt;applet code="org.my.form1.MyApplet" archive="java/form1gui/FormApplet1.jar"
                 height="60" width="250"/&gt; 
      &lt;/div&gt;
      &lt;div class="rframe"&gt;
         &lt;h2&gt;Basic Java Swing Applet&lt;/h2&gt;
  
         &lt;applet code="org.me.hello.MyApplet" archive="java/hello/HelloApplet.jar"
                 width="350" height="150" /&gt; 
  
        &lt;!-- right frame div end --&gt;
  &lt;/div&gt; &lt;!-- whole frame to box 2 frames --&gt;
  </code></pre>
  
  <p>I would be grateful if someone could advise where I have gone wrong as this should be simple to do and I am sure it is but I cannot seem to work out the issue.</p>