HTML MENUITEM <menuitem> Tag
0 2470
The HTML MENUITEM <menuitem> tag describes an item in a menu. It's mostly used to raise pop-up menus applying HTML. It is a new element for HTML 5 specifications.
<menuitem> tag drawback is that it is not supportive in any browser. The only browser Firefox will make it correctly.
In Firefox it can only use <menu> type attribute to context.
Program:
<!DOCTYPE html> <html> <head> <title>Menuitem Tag</title> <style> menuitem { display: block; } </style> </head> <body> <h2>Menuitem Tag Example</h2> <menu> <menuitem>ol – called ordered list</menuitem> <menuitem>ul – called unordered list</menuitem> <menuitem>menu – menu</menuitem> </menu> </body> </html>
Output:
Share:
Comments
Waiting for your comments