HTML tag

HTML

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

element can contain one or more
  • or elements within it.

    Note: The 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

    Following are some specifications about the HTML

    tag

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

    Example

    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.

    Global attribute:

    The

    tag supports the global attributes in HTML

    Event attribute:

    The

    tag supports the event attributes in HTML.

    Supporting Browsers

    Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
    No No Yes No No
    Next TopicHTML meta Tag




  • Contact US

    Email:[email protected]

    HTML menu Tag
    10/30