HTML <dir> tag (Not Supported in HTML5)HTML <dir> tag was used as a container for the list of files/folders or content of the directory. The <dir> element is used with the <li> tags, and list of directories renders in bullets by default. Note: Do not use HTML <dir> tag as it is deprecated now and not supported in HTML5. You can use <ul> tag and CSS property instead.SyntaxFollowing are some specifications about the HTML <dir> tag
Example 1Test it NowOutput: ![]() AttributeTag-specific Attribute
Global AttributeHTML <dir> tag supports the Global attributes. Event AttributeHTML <dir> tag supports the Event attributes. Supporting Browsers
Next TopicHTML div Tag
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week