Skip to content
Related Articles

Related Articles

Improve Article

HTML | applet name Attribute

  • Last Updated : 22 Apr, 2020

The HTML | applet name attribute is used to specify the name of a <applet> element.

Syntax:

<applet name="name">

Attribute Values: It contains a single value name that describes the name of the applet element.

Example:




<!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

Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

My Personal Notes arrow_drop_up
Recommended Articles
Page :