HTML/CSS/Table Attributes/rules

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

"rules" controls which portions of a table"s borders are displayed

   <source lang="html4strict">
   

<HTML> <body>

<thead> </thead> <tfoot> </tfoot>
Header Header Header Header Header Header
Cell Cell Cell Cell Cell Cell
Cell Cell Cell Cell Cell Cell
Cell Cell Cell Cell Cell Cell
Cell Cell Cell Cell Cell Cell
Footer Footer Footer Footer Footer Footer


<button onclick="myTable.rules="none"">none</button> <button onclick="myTable.rules="all"">all</button> <button onclick="myTable.rules="cols"">cols</button> <button onclick="myTable.rules="groups"">groups</button> <button onclick="myTable.rules="rows"">rows</button></body> </HTML>


     </source>