The menu component speaks to an arrangement of commands.

<menu>. . . </menu>

On the off chance that a menu component's sort characteristic is in the setting menu state, then the component speaks to the commands of a connection menu, and the client can just collaborate with the commands if that setting menu is initiated. In the event that a menu component's sort property is in the toolbar state, then the component speaks to an arrangement of dynamic commands that the client can promptly connect with.

On the off chance that a menu component's sort characteristic is in the schedule state, then the component either speaks to an unordered arrangement of things (each one spoke to by a li component), each of which speaks to a charge that the client can perform or enact, or, if the component has no li component kids, stream substance depicting accessible commands.

Here is the Syntax for MENU Element

Supported Browser
html5 tutorial html5 tutorial html5 tutorial html5 tutorial html5 tutorial


<menu>additional element and text will go here</menu>

Below is complete syntax along with example


<!DOCTYPE html>

<html>
	
    <head>
    	 <title>Title name will go here</title>
    </head>
    
    <body>
		
		<menu> 
 			<li>
  				<button type=menu value="File" menu="filemenu">
  				<menu id="filemenu" type="popup">
   				<menuitem onclick="fnew()" label="New...">
   				<menuitem onclick="fopen()" label="Open...">
   				<menuitem onclick="fsave()" label="Save">
   				<menuitem onclick="fsaveas()" label="Save as...">
  				</menu>
 			</li>
 			<li>
  				<button type=menu value="Edit" menu="editmenu">
  				<menu id="editmenu" type="popup">
   				<menuitem onclick="ecopy()" label="Copy">
   				<menuitem onclick="ecut()" label="Cut">
   				<menuitem onclick="epaste()" label="Paste">
  				</menu>
 			</li>
 			<li>
  				<button type=menu value="Help" menu="helpmenu">
  				<menu id="helpmenu" type="popup">
   				<menuitem onclick="location='help.html'" label="Help">
   				<menuitem onclick="location='about.html'" label="About">
  				</menu>
 			</li>
		</menu>
		
	</body>
    
</html>

Download