How do I display sub menus in HTML?
Create A Subnav
Use any element to open the subnav/dropdown menu, e.g. a <button>, <a> or <p> element. Use a container element (like <div>) to create the subnav menu and add the subnav links inside it. Wrap a <div> element around the button and the <div> to position the subnav menu correctly with CSS.
How do I access submenu?
Users using the keyboard to navigate a menu can access a submenu by pressing the right arrow key or collapse the submenu by pressing the left arrow key.
What is a sub navigation bar?
Sub-navigation — also known as local navigation — is the interface where visitors can find lower-level categories of a site's IA. These are typically sub-categories of the main navigation links.