HTML | <dir> compact Attribute
The HTML <dir> compact Attribute is used to define the list should be smaller than the normal by reducing the space between the list items and the indentation of the list. It is a Boolean attribute.
Note: The HTML <dir> compact attribute is not supported by HTML 5.
Below example illustrates the use of <dir> compact attribute.
Supported Browsers: The HTML <dir> compact attribute is not supported by any browsers.
Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML course.