HTML <dir> Tag Not Supported in HTML5
				Topic: HTML5 Tags ReferencePrev|Next
Description
The <dir> (short for directory) tag specifies a directory list. It was designed to be used for creating multicolumn directory lists.
The following table summarizes the usages context and the version history of this tag.
| Placement: | Block | 
|---|---|
| Content: | <li> elements that are constrained to contain inline content only | 
						
| Start/End Tag: | Start tag: required, End tag: required | 
| Version: | HTML 2, 3.2, 4, 4.01 (transitional) | 
Warning: Do not use this tag as it has been deprecated in HTML 4.01 and obsolete since HTML5. Use the <ul> tag instead.
Syntax
The basic syntax of the <dir> tag is given with:
The example below shows the <dir> tag in action.
Example
Try this code »<!--Example of bad usage. Don't use this tag-->
<dir>
    <li>examples</li>
    <li>tutorials</li>
</dir>
<!--Alternative-->
<ul>
    <li>examples</li>
    <li>tutorials</li>
</ul>
					Tag-Specific Attributes
The following table shows the attributes that are specific to the <dir> tag.
| Attribute | Value | Description | 
|---|---|---|
compact | 
							compact | 
							Obsolete This Boolean attribute specifies that the list should be rendered in a compact style. | 
Browser Compatibility
The <dir> tag is supported in all major modern browsers.
									Basic Support—
  | 
							
Further Reading
See tutorial on: HTML Lists.

