TheDeveloperBlog.com

Home | Contact Us

C-Sharp | Java | Python | Swift | GO | WPF | Ruby | Scala | F# | JavaScript | SQL | PHP | Angular | HTML

HTML menu Tag

HTML menu Tag with html tutorial, tags, anchor, img, div, entity, textarea, marquee, p tag, heading tag, h1, h2, table, formatting, attribute, elements, ol, ul, Input Types, block element tag, inline element tag, html tags, phrase tag, head, body, form, lists, symbols etc.

<< Back to HTML

HTML <menu> tag

HTML <menu> tag specifies a list or menu of commands that a user can perform or activate. It is used for creating context menu as well as lists menu.

A <menu> element can contain one or more <li> or <menuitem> elements within it.

Note: The <menu> tag was deprecated in HTML 4.01 and again included in HTML 5.1 specification. But it will better to ignore it as it is experimental and not supported by many browsers.

Syntax

  <menu>........<menu>

Following are some specifications about the HTML <menu> tag

Display Inline
Start tag/End tag Both Start and End tag
Usage Semantic and textual

Example

  <!DOCTYPE html>
  <html>
 <head>
  <title>Menu Tag</title>
  </head>
  <body>
  <h2>Example of Menu Tag</h2>
 <menu>
 	<li>Home</li>
 	<li>Registration</li>
 	<li>Contact-us</li>
 	<li>About-us</li>
 </menu>
</body>
</html>
Test it Now

Output:

HTML menu tag

Attribute:

Tag-specific attributes:

  • popup
  • toolbar
  • context
Attribute Value Description
labelHTML Tags List text It specifies the label for the menu.
typeHTML Tags List
It specifies the type of the menu in an HTML document.

Related Links:


Related Links

Adjectives Ado Ai Android Angular Antonyms Apache Articles Asp Autocad Automata Aws Azure Basic Binary Bitcoin Blockchain C Cassandra Change Coa Computer Control Cpp Create Creating C-Sharp Cyber Daa Data Dbms Deletion Devops Difference Discrete Es6 Ethical Examples Features Firebase Flutter Fs Git Go Hbase History Hive Hiveql How Html Idioms Insertion Installing Ios Java Joomla Js Kafka Kali Laravel Logical Machine Matlab Matrix Mongodb Mysql One Opencv Oracle Ordering Os Pandas Php Pig Pl Postgresql Powershell Prepositions Program Python React Ruby Scala Selecting Selenium Sentence Seo Sharepoint Software Spellings Spotting Spring Sql Sqlite Sqoop Svn Swift Synonyms Talend Testng Types Uml Unity Vbnet Verbal Webdriver What Wpf