codescracker


html

HTML MENU Tag



« Previous Tutorial Next Tutorial »


The MENU tag is used to display a list of menu items on a Web page. It contains one or more LI tags that define the items of the list.

You can display the menu items as a toolbar, a context menu, or a list of items by using the type attribute of the MENU tag.

Attributes of MENU tag

The following table displays the attributes of the MENU tag :

Attribute Description
label Specifies a label of the menu, which is visible on the Web page
type Defines the type of the menu, such as context menu, toolbar, or list (default)

Example of MENU tag

Following is an example of using the MENU tag :

<MENU>
<LI><INPUT type="radio" />Audi</LI>
<LI><INPUT type="radio" />Ferrari</LI>
</MENU>

« Previous Tutorial Next Tutorial »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test