Open In App

HTML | applet name Attribute

Last Updated : 18 Feb, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report
The HTML | applet name attribute is used to specify the name of a <applet> element.

Note : This attribute is not supported by HTML5.

Syntax:
<applet name="name">
Attribute Values: It contains a single value name that describes the name of the applet element. Example: html
<!DOCTYPE html>
<html>
    
<head>
    <title>
        HTML | applet name attribute
    </title>
</head>

<body>
    <applet code="HelloWorld"
            width=200
            height=60
            name="geeks"> 
    </applet> 
    
    <h2>
        Hello GeeksForGeeks
    </h2>
    
    <p>
        a computer science portal for Geeks 
    </p>
</body> 

</html>          
Output: Supported Browsers: The browser supported by HTML applet name attribute are listed below:
  • Firefox
  • Safari

Next Article

Similar Reads