HTML <menu> Tag (original) (raw)

Last Updated : 23 Jul, 2025

**HTML Tag defines an **Unordered **List of items. For creating an unordered list, we can use the <menu> tag with HTML <li> tags. The HTML tag is a semantic tag and an alternative option for the HTML

.

Syntax

  • Content...
  • Content...
  • **Supported Attribute

    The HTML tag supports theGlobal Attributes and Event Attributes.

    **Note: The HTML Tag was removed in HTML 4.01 but in HTML5 it has been redefined. Previously, list items were declared within the deprecated <menuitem> element. Now, the <li> element serves as a suitable alternative.

    **Example 1: Implementation of the tag with the Browser’s Default CSS.

    HTML `

    HTML menu Tag

    HTML <menu> tag

  • menu list
  • unordered list
  • ordered list
  • `

    **Output:

    Screenshot-2024-01-12-122446

    **Example 2: Implementation of menu tag by using Custom CSS.

    HTML `

    HTML menu Tag

    HTML menu tag

  • menu list
  • unordered list
  • ordered list
  • `

    **Output:

    Screenshot-2024-01-12-122111

    HTML DOM Property

    HTML DOM Menu Object can be used with the Tag.

    Browser Support