HTML CSS Reference/HTML Attributes Reference/compact
"compact" Example
<HTML>
<head><Title>Example For compact</Title></head>
<BODY>
<dl compact="true">
<dt>Compacted Definition List</dt>
<dt>1.</dt>
<dd>Definition 1.</dd>
<dt>2.</dt>
<dd>Definition 2.</dd>
</dl>
</BODY>
</HTML>
compact is applied to
+----------------+--------------------------------------------------------------+
| Applied_To |<dir> (IE6) <dl> |
| |<menu> (IE6) <ol> |
| |<ul> |
+----------------+--------------------------------------------------------------+
"compact" Syntax and Note
Note:
This attribute reduces the white space between each item in a list or menu.
It is a Boolean attribute.
Its values can be true and false.
True value will remove all extra space.
Default value is false.
Syntax:
<element compact="value"> . . . </element>