content logo

Learn HTML:

Html menu tag

The HTML <menu> tag is used for creating a menu list. This tag has been deprecated in HTML and redefined in HTML5.



<!DOCTYPE html>
<title>HTML menu Tag</title>
<li>ol - ordered list</li>
<li>ul - unordered list</li>
<li>dir - directory list</li>
<li>menu - menu list</li>

This will produce following result:

ol - ordered list ul - unordered list dir - directory list menu - menu list


Specific Attributes

The HTML <menu> tag also supports following additional attributes:

Attribute Value Description
label  text Specifies a visible label.
type  popup
Specifies the type of menu to be displayed.

HTML Menu Example


HTML Menu Code


HTML Menu Tutorial