HTML Tag <MENU>

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 Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad