![]() |
A simple Java applet that acts like an HTML <IMG> tag. One reason you might use this instead of <IMG> is that it's harder for users to save images being displayed through an applet - a primitive form of copy-protection.
Downsides:
Parameters:
SRC - the URL to load
Sample HTML usage:
<APPLET WIDTH=www HEIGHT=hhh CODE="Img"> <PARAM NAME="SRC" VALUE="http://site.net/image.jpg"> <!-- Fall back on regular <IMG> for non-Java browsers. --> <IMG WIDTH=www HEIGHT=hhh SRC="http://site.net/image.jpg"> </APPLET>
<IMG> tag | Img applet | bad filename | different host |
---|---|---|---|
![]() |