The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Best way to attach a java applet to a page?

  • # January 28, 2010 at 3:37 pm

    I don’t know where else to post this** =/

    I seriously cant find any of the info i had before about this, but i remember there was a few different ways and i believe the "best" way was from using <object> tags instead of <applet> tags, maybe <embed>?

    The fact that when you use an <object> tag is then you need the correct type, codebase, and classid and other things. Dont forget about IE =].. Im just a bit confused. … _tags.html
    sun still recommends the <applet> tags because each browser implements that <object> tag differently, even though applet tags are deprecated.

    What do you people say or recommend?

    Like this:


    Your browser does not support the applet tag.

    Or maybe this way(which i believe is the way i did it on my site):


    < ![endif]-->|Hello World applet test|
    If you are seeing this message,
    you probably have an older version
    of Java thats needs to be updated
    Download Java
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed