Code
Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy menuitem Tag</title> <base href="../try-it/"> </head> <body> <div style="background:cyan;padding:20px;" contextmenu="wikiContext"> <p> Right click the box to View Wikitechy Context Menu</p> <menu type="context" id="wikiContext"> <menuitem label="Wikitechy" onclick="window.open('https://www.wikitechy.com')" icon="icon.png"></menuitem> <menu label="Online"> <menu type="context" id="wikiContext"> <menuitem label="Tutorials" icon="icon.png" onclick="window.open('http://www.wikitechy.com/online-tutorials');"></menuitem> </menu> </menu> </menu> </body> </html>
Result