Arteqo Consulting

The European Web Agency

Design, brand and digital development


×

Arteqo Consulting Services

Contact Arteqo

×
I have read and accept the terms and conditions

applet tag

This tag is deprecated - it is not supported in the current version of HTML.

The applet tag, which, when implemented in the code, is written like this - <applet>, is an HTML tag that belongs to programming tags. Programming HTML tags are used to insert non-HTML elements inside a document, that is elements that are in other programming languages. These are the tags that allow expanding a document's functions beyond those allowed by HTML and CSS alone.

<applet> defines an applet, i.e. a small application designed to perform a few simple functions. This tag is not supported in the current version of HTML, which is HTML5.

Browser support

Here you can see whether <applet> is supported by a certain browser, and, if yes, starting from which version it is supported.

Browser support for <applet>
ChromeFirefoxEdgeOperaSafari
Not supportedIs supportedNot supportedNot supportedIs supported

Attributes and values

An attribute is a piece of additional information about a tag. While tags denote the type of objects they mark or create, attributes set the parameters of these objects. These parameters can include anything from the types of possible interactions to its visual style to its actual contents.

Values indicate how a certain attribute is actually implemented, if there is a number of ways it can happen.

What attributes are actually allowed in a certain tag depends on the tag itself. Much like possible attributes depend on a tag, possible values depend on an attribute.

The <applet> tag supports the following attributes (with their respective values):

AttributeValueDescription
codeURLSpecifies the file name of a Java applet
objectnameSpecifies a reference to a serialized representation of an applet
alttextSpecifies an alternate text for an applet
hspacepixelsDefines the horizontal spacing around an applet
align
  • left
  • right
  • top
  • bottom
  • middle
  • baseline
Specifies the alignment of an applet according to surrounding elements

Global Attributes

Global attributes are HTML tag attributes that can be used by any tag, hence the name "global". They are in contrast to unique attributes that are tag-specific.

<applet> does not support global attributes.

Event Attributes

Event attributes are HTML tag attributes that allow triggering actions upon specific conditions, hence the name "event". Other types of attributes, namely global and unique attributes, can also trigger actions, but the difference is that even attributes allow calling scripts, such as JavaScript functions, while most other attributes only support a certain type of action.

<applet> does not support event attributes.