MENUITEM <menuitem> Tag

by Jai 17-Jul-19

0 157


The <menuitem> tag describes an item in a menu. It's mostly use to raise pop-up menus applying HTML. It is a new element for HTML 5 specification.

<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:

MENUITEM <menuitem> Tag


Share:


Discount Coupons

SEMRush FREE Trial – PRO Account for 14 Days

FREE Pro Account worth $99.95 for 14 Days.



Comments

    No Comments Yet.

Leave a Reply