The HTML Attribute reference.

"compact" - html Attribute (deprecated)

  • This boolean attribute gives a hint to visual user agents to render the list in a more compact way.
  • The interpretation of this attribute depends on the user agent.

Value(s): compact
Used in the element(s):
Elements Description
dir (deprecated) This element was designed to be used for creating multicolumn directory lists.Possible attribute, dir, values for this element:
Attribute value description
ltr Left-to-right text or table.
rtl Right-to-left text or table.
dl This element defines a definition list.
menu (deprecated) This element was designed to be used for creating multicolumn directory lists.
ol This element defines an ordered list.
ul This element defines an unordered list.

© 2010 by Finnesand Data. All rights reserved.
This site aims to provide FREE programming training and technics.
Finnesand Data as site owner gives no warranty for the correctness in the pages or source codes.
The risk of using this web-site pages or any program codes from this website is entirely at the individual user.