Menuitem Tag in HTML || HTML MENU ITEM Tag
×

HTML MENUITEM <menuitem> Tag

2209

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:




Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments