Skip to content
Related Articles

Related Articles

Improve Article

HTML | applet alt Attribute

  • Last Updated : 21 Apr, 2020
Geek Week

The HTML applet alt attribute is used to specify the alternate text for an applet element. It is useful when the applet element not displayed. It is used to give alternative information for an applet element.


<applet alt="text">

Attribute Values: It contains single value text which specifies the alternative text for an applet element.


<!DOCTYPE html>
        HTML applet alt attribute
    <applet code="HelloWorld" alt="GeeksForGeeKs"
            width=200 height=60 name="geeks"
        HTML applet alt attribute
    <h2>Hello GeeksForGeeks</h2>
        a computer science
        portal for Geeks 


Supported Browsers: The browser supported by HTML applet alt 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 :