HTML | applet alt Attribute Last Updated : 13 Jan, 2022 Summarize Comments Improve Suggest changes Share Like Article Like Report 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. Note: This attribute is not supported by HTML5. Syntax: <applet alt="text"> Attribute Values: It contains single value text which specifies the alternative text for an applet element. Example: html <!DOCTYPE html> <html> <head> <title> HTML applet alt attribute </title> </head> <body> <applet code="HelloWorld" alt="GeeksForGeeKs" width=200 height=60 name="geeks"> </applet> <h1> HTML applet alt attribute </h1> <h2>Hello GeeksForGeeks</h2> <p> a computer science portal for Geeks </p> </body> </html> Output: Supported Browsers: The browser supported by HTML applet alt attribute are listed below: Firefox Safari Comment More infoAdvertise with us Next Article HTML alt attribute M manaschhabra2 Follow Improve Article Tags : Web Technologies HTML HTML-Attributes Similar Reads HTML | applet align Attribute The HTML applet align attribute is used to specify the alignment of the <applet> element or the content present inside the applet element. Note: This attribute is not supported by HTML5. Syntax: <applet align="left | right | center | justify";> Attribute Values: left: It sets the content 1 min read HTML alt attribute The alt attribute in HTML provides alternative text for images, aiding accessibility and providing context for screen readers.Syntax:<img src=" " alt=" " >HTML<html> <body> <h1>GeeksforGeeks Logo</h1> <img src="https://media.geeksforgeeks.org/wp-content/uploads/20190 3 min read HTML alt attribute The alt attribute in HTML provides alternative text for images, aiding accessibility and providing context for screen readers.Syntax:<img src=" " alt=" " >HTML<html> <body> <h1>GeeksforGeeks Logo</h1> <img src="https://media.geeksforgeeks.org/wp-content/uploads/20190 3 min read HTML | applet name Attribute 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 ht 1 min read HTML | applet width Attribute The HTML applet width attribute is used to specify the width of an <applet> element. Note: This attribute is not supported by HTML5. Syntax: <applet width="pixels"> Attribute Values: pixels: It contains the pixels value that specifies the width of the applet element. Example: html <!D 1 min read HTML | applet hspace Attribute The HTML applet hspace attribute is used to specify the number of whitespaces on the left and right side of an applet element. Note: This attribute is not supported by HTML5. Syntax: <applet hspace="pixels"> Attribute Values: pixels: It specifies the number of whitespaces on right and left of 1 min read Like