HTML tag (Not Supported in HTML5)

HTML

tag was used as a container for the list of files/folders or content of the directory. The element is used with the
  • tags, and list of directories renders in bullets by default.

    Note: Do not use HTML tag as it is deprecated now and not supported in HTML5. You can use
      tag and CSS property instead.

    Syntax

    Following are some specifications about the HTML

    tag

    Display Block
    Start tag/End tag Both Start and End tag
    Usage HTML lists

    Example 1

    Test it Now

    Output:

    HTML dir tag

    Attribute

    Tag-specific Attribute

    Attribute Value Description
    compact compact It specifies that list should display smaller than normal. (Not supported in HTML5)

    Global Attribute

    HTML

    tag supports the Global attributes.

    Event Attribute

    HTML

    tag supports the Event attributes.

    Supporting Browsers

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




  • Contact US

    Email:[email protected]

    HTML dir Tag
    10/30