<object type="application/java" classid="java:test.class" width=250 height=50>
alternative text
</object>
An inline Java applet sized 250*50 pixels, showing the words "Hello world!" in big, yellow italics on a red background.
The recommended codetype attribute is missing, but that shouldn't affect the rendering since codetype defaults to the value of type.
User agents which cannot render inline Java applets should display the words "alternative text".