Camen Design Forum

How Would I Add HTML Into Java?


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!)

Only the original author or a moderator can append to this post.

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

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn