What is the difference between using nav and menu in html5?
nav or menu, what?
Straight from the mouth of the horse:
http://dev.w3.org/html5/spec-author-view/interactive-elements.html#menus
A menu item represents a list of commands.eg:.<menu label="File"> <button type="button" onclick="fnew()">New...</button> <button type="button" onclick="fopen()">Open...</button> <button type="button" onclick="fsave()">Save</button> <button type="button" onclick="fsaveas()">Save as...</button> </menu>
A menu item represents a list of commands.
eg:.
<menu label="File"> <button type="button" onclick="fnew()">New...</button> <button type="button" onclick="fopen()">Open...</button> <button type="button" onclick="fsave()">Save</button> <button type="button" onclick="fsaveas()">Save as...</button> </menu>
http://dev.w3.org/html5/spec-author-view/sections.html#the-nav-element
The nav element is a section of a page that links to other pages or parts of a page: a section with navigation links.
<nav> is the general section of the site layout containing navigation content
<nav>
<menu> is a list of commands within navigation or any other section layout
<menu>
Source: https://habr.com/ru/post/1346649/More articles:Add a DOM element between two children - javascript.Net Control.Tag - Common and Unusual Uses - .netCreating a list from a binary search tree - pythonHow to set querystring using javascript - javascriptiOS - Sphere rotation and touch response - objective-cJQuery menu delays delay - javascriptIs there an online example of using TinyMCE with a print layout, for example, words - javascriptCall remote EJB in EJB 3.1 - jpaAttaching ImageResource from an external CSS file using @sprite - cssPerl regular expression removing duplicate consecutive substrings in a string - substringAll Articles