VOOZH about

URL: https://www.geeksforgeeks.org/html/html-menu-label-attribute/

⇱ HTML <menu> label Attribute - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <menu> label Attribute

Last Updated : 23 Jul, 2025

The HTML <menu> label Attribute  is used to specify a text value that indicates the visible label name of the menu element Although, this attribute is also used to specify the name of the menu items inside the menu.  

Syntax:

<menu label="text"> 

Note: This attribute has been deprecated and is no longer used.

Attribute Values 

  • text:  It contains a single value that defines the name of the label of the menu

Example: Below code illustrates the use of label attribute with the <menu> tag. ;

Output: 

👁 Image

Supported Browsers:

  • Firefox 8.0
Comment
Article Tags: