<MENU> Tag & its Attribute

HTML Tag <MENU>

<MENU> Defines a menu list. Use the <LI> tag to indicate list items. Use <UL> instead of this deprecated element.

Attribute of <MENU> Tag

CLASS

Indicates which style class applies to the <MENU> element.

<MENU CLASS="menu_st">
<LI>ASP.net
<LI>PHP
<LI>JSP
</MENU>


Possible Values

Any Class Name.



COMPACT

Specifies that the menu list appear in a spacesaving form.

<H2>Tutorial Available for: </H2>
<MENU COMPACT>
<LI>PHP</LI>
<LI>ASP</LI>
<LI>JSP</LI>
<LI>SQL</LI>
</MENU>


Possible Values

COMPACT



ID

Assigns a unique ID selector to an instance of the <MENU> tag. When you then assign a style to that ID selector, it affects only that one instance of the <MENU> tag.

Tutorial Available for:
<MENU ID="mymenu">
<LI>ASP.net
<LI>PHP
<LI>JSP
</MENU>


Possible Values

Any ID Name.



STYLE

Specifies Style Sheet commands that apply to the menu list.

<MENU STYLE="background: black; color:
white">


Possible Values

CSS Property with Value.



TITLE

Specifies text assigned to the tag. You might use this attribute for context-sensitive help within the document. Browsers may use this to show tool tips over the menu list.

<MENU TITLE="Menu List">


Possible Values

Any Text.




CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz