HTML CSS Reference/HTML Attributes Reference/rules — различия между версиями

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

Версия 12:21, 26 мая 2010

"rules" Example

   <source lang="html4strict">
   

<HTML> <head><Title>Example For rules</Title></head> <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>
   
  


rules is applied to

   <source lang="html4strict">

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

| Applied_To | | +----------------+--------------------------------------------------------------+ </source>

rules Possible Values

   <source lang="html4strict">

Possible values include all, cols, group (displays only group borders), none, rows.


     </source>
   
  


"rules" Syntax and Note

   <source lang="html4strict">

Note:

This attribute controls which portions of a table"s borders are displayed.

Syntax:

. . .


</source>