'compact' Example : List Bullets : HTML JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » HTML » List Bullets »

 

'compact' Example



    
<html>
<body>
<dl id="myDL"
    <dt>Definition List:</dt>
    <dt>1.</dt><dd>Definition 1.</dd>
    <dt>2.</dt><dd>Definition 2.</dd>
    <dt>3</dt><dd>Definition 3.</dd>
</dl>
<button onclick="myDL.compact=true;">Compact</button>
<button onclick="myDL.compact=false;">De-Compact</button>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo HTML
» List Bullets