How to define a list or menu of commands in HTML5 ? Last Updated : 31 Mar, 2021 Summarize Comments Improve Suggest changes Share Like Article Like Report The <menu> tag is used to define a list or menu of commands in HTML5. It can contain more than one <li> or <menuitem> elements. The <menu> tag is only supported by the latest Mozilla firefox web browsers. This tag also supports the event attributes in HTML5. Syntax: <menu> </menu> Example: The following example demonstrates the <menu> tag with the <li> tag to define the type of list. HTML <!DOCTYPE html> <html> <body> <h1><menu> tag Illustration:</h1> <menu> <li>Problems</li> <li>Courses</li> <li>Get Hired</li> <li>Notifications</li> <li>Profile</li> </menu> </body> </html> Output: menu tag Note: Use a Mozilla Firefox web browser for the output. Example 2: The following example demonstrates using the <menu> tag with <menuitem> tag to display items. The <menuitem> tag is not supported in the latest version of HTML i.e, HTML5. It is advised to use the previous version for the output. Syntax: <menu> <menuitem> </menuitem> </menu> HTML <!DOCTYPE html> <html> <body> <h1><menuitem> tag Illustration:</h1> <menu> <menuitem>Problems</menuitem> <menuitem>Courses</menuitem> <menuitem>Get Hired</menuitem> <menuitem>Notifications</menuitem> <menuitem>Profile</menuitem> </menu> </body> </html> Output: menuitem Note: Use a Mozilla Firefox web browser for the output. Comment More infoAdvertise with us Next Article How to define a list item in HTML5? A ayushraghuwanshi80 Follow Improve Article Tags : Web Technologies HTML HTML5 HTML-Tags HTML-Questions +1 More Similar Reads How to define a list item in HTML5? To define a list in HTML5 we can use the HTML <li> tag. But there are two types of listing in HTML. One is an ordered list and another one is an unordered list. For ordered we can use HTML <ol> tag and for the unordered list, we will use the HTML <ul> tag. Also, we can change the l 2 min read How to define a client-side script in HTML5 ? To define a client-side script in HTML5, we can do <script> tag or adding external script file by src attribute to the HTML file. <script> tag contains the JavaScript to be added for the client-side scripting. Syntax: <script> // JavaScript goes here console.log('GeeksforGeeks'); 1 min read How to define a drop-down list in HTML5 ? In this article, we define a Drop-Down List By using the <select> Element in the Document. This tag is used to create a drop-down list. The <select> tag contains <option> tag to display the available option of drop-down list.Note: The tag is used in a form to receive user response. 1 min read How to specify a list of pre-defined options for input controls in HTML? Specify a list of pre-defined options for input controls by using the HTML list Attribute. A pre-defined option for input controls using HTML5's <datalist> element, allowing users to select from a predefined list while typing in an input field. Syntax: <input list="datalist_id"/>Example 2 min read How to specify a list of pre-defined options for input controls in HTML? Specify a list of pre-defined options for input controls by using the HTML list Attribute. A pre-defined option for input controls using HTML5's <datalist> element, allowing users to select from a predefined list while typing in an input field. Syntax: <input list="datalist_id"/>Example 2 min read How to define a section in a document in HTML5 ? In this article, we will discuss how to define a section in a document in html5. We can create a section in the document using the Section tag. HTML <section> Tag: Section tags divide content into section and subsection. The section tag is used when there is a requirement for two header, foote 1 min read Like