The menu element One of the less talked about elements that is included in the HTML5 specification is the menu element . This is probably due to the fact that most browsers either don't support it at all, or only fleetingly. Here I will take a quick look at this element and how it can be used. As its name suggests, the function of the menu element is to mark-up a menu. On first glance I initially thought that a menu is just navigation and surely the new nav element would suffice? But of course I was thinking about websites and not webapps where menus, akin to those contained in desktop applications, are a distinct reality. Another possible use for this element is in the definition of popup menus on a mobile application. The element The menu element is defined in the W3C as representing a list of commands. The menu element can take two attributes; label and type . The label attribute assigns a label to the menu for identification purposes. The type attribute specifies the type of menu that is being defined and can be one of: list, toolbar or context. If this attribute is missing, then a value of list is assumed. A list menu type indicates that the menu is either an unordered list of li elements or that it contains a number of commands that the user can carry out. A context menu contains commands of a context menu which can only be interactied with