Camen Design Forum

How Would I Add HTML Into Java?

append delete PheonixVX

I Know How To Add JavaScript To HTML But What Tag Would I Use To Signal Java Like JavaScript Is That You Have To Put <script> And Then our JavaScript Code But What Tag <> Would I Use Pls Help

Reply RSS


append delete #1. Martijn

Are you asking how to use Java in HTML?

Theoretically you can use `<script type="application/java">`, but I don't think any browser supports that. Instead people used to compile their Java into "applets" and embed those with `<object>` elements.

What with the rise of mobile platforms, I would not advise using any of it. Neither Android nor iOS ship with Java plugins for their browsers. And even on the desktop market, Apple has stopped shipping Java on their platform.


(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn