HTML applet tag

By | February 26, 2020

In this chapter we will learn about 1 tag of HTML.This tag is used to embed an applet into a HTML.

HTML5 does not support this tag.

Example:-

<!DOCTYPE html>
<head>
	<title>applet Tag</title>
</head>
<body>
	
	<applet code="bubble.class" width="300" height="300">
		java applet that draws animated bubbles.
	</applet>

</body>
</html>

Browser Support:-

Most modern browsers do not support this tag of HTML.

Attributes:-

Attribute name Description Value
width This indicates the width of the applet. pixels
code It specifies the URL for the java file in the applet. URL
align Specifies the position of the content around the applet. left
right
top
middle
bottom
archiveThis specifies the archived or compressed version of an applet. URL
alt It is used to cover alternative text. text
codebase It specifies the URL relative to codelatus. URL
object It specifies the sorted URL for the applet. name
hspace Specifies the surround and horizontal location of the applet. pixels
name This specifies the name for the applet. name
vspace This designates the four more vertical positions of the applet. pixels
height This indicates the height of the applet. pixels
Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *