HTML 5 <dir> tag
Definition and Usage
The <dir> tag defines a directory list.
Differences Between HTML 4.01 and HTML 5
The dir element was deprecated in HTML 4.01.
The dir element is not supported in HTML 5.
Tips and Notes
Tip: Use CSS styles to define the type of list!
Example
Source |
Output |
<dir>
<li>html 4.01</li>
<li>html 5</li>
</dir> |
html 4.01
html 5
|
Attributes
- 4: indicates if the attribute is defined in HTML 4.01
- 5: indicates if the attribute is defined in HTML 5
Attribute |
Value |
Description |
4 |
5 |
compact |
compact_rendering |
Not supported. Use styles instead |
4 |
5 |
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|