HTML CSS Reference/HTML Attributes Reference/compact

Материал из Web эксперт
Перейти к: навигация, поиск

"compact" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For compact</Title></head> <BODY>

Compacted Definition List
1.
Definition 1.
2.
Definition 2.

</BODY> </HTML>


     </source>
   
  


compact is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+

| Applied_To |<dir> (IE6)
| | |<menu> (IE6)
    | | |
      | +----------------+--------------------------------------------------------------+ </source>

      "compact" Syntax and Note

         <source lang="html4strict">
      

      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>


      </source>