dimanche 6 décembre 2020

How do I embed java code into a public website?

I'm trying to embed a Java program into my HTML/CSS. I already found this tutorial to help me with this: How do I embed a java program into my website?

However, I'm still new to programming and for this step:

<HTML>
  <HEAD>
    My game applet
  </HEAD>
  <BODY>
    <div >
      <APPLET CODE="Main.class" WIDTH="800" HEIGHT="500"></APPLET>
    </div>
  </BODY>
</HTML>

I'm unsure how to do this. When you use "Main.class", where is the HTML pulling from? Is your code stored somewhere? If I want to put it on a public website, how do I do this?

I know this might be a simple question but I'm still super new to all this!




Aucun commentaire:

Enregistrer un commentaire