“
例子:
The nav element
The nav element defines navigation links:
输出:
例子:
nav tag
GFG
输出:
HTML 中的
- <菜单项>
- <脚本>
- <小时>
例子:
HTML menu Tag menu tag
- menu list
- unordered list
- ordered list
输出:
例子:
html menu tag Right-click inside this box to view the context menu!
This example currently works in Mozilla Firefox web browser please use Mozilla Firefox to view this example.
输出:
S. No. “nav tag” “menu tag” 1. Syntax : Syntax : 2. The “ The “ ” tag creates a list or menu of commands which can be utilized by the users. 3. The “ It was deprecated in HTML 4.01 and reintroduced in HTML5. 4. It is highly compatible and supports most platforms. It does not have much compatibility. 5. The “ The “ ” tag is for Web Applications to handle/design interactive elements. 6. The contents of nav tag are “”, “ - ”, “
- ” etc.
- ” and “
The contents of menu tag are “ ”, “ 7. It is supported by majority of browsers. It is not supported by most of the browsers. 8. Examples of browser support: Google Chrome, Microsoft Edge, Safari, Opera Browser, Mozilla Firefox. Only Mozilla Firefox version 8 supports menu element of HTML5.