asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > COMPACT Attribute

COMPACT Attribute | compact Property


Sets or retrieves whether the list should be compacted to remove extra space between list objects.

Syntax

Inline <DL COMPACT ... >
Script dl.compact = bCompactList ]

Possible Values

false Removes extra space between objects.
true Does not remove extra space between objects.

This property returns or accepts only a boolean value, meaning true if set, and false if not. The property is read/write with a default value of false.

Applies To

DL



Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note