HTML CSS Reference/HTML Attributes Reference/frame

Материал из Web эксперт
Версия от 11:20, 26 мая 2010; Admin (обсуждение | вклад) (1 версия)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

"frame" Example

   <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.frame="void"">VOID</button> <button onclick="myTable.frame="above"">ABOVE</button> <button onclick="myTable.frame="below"">BELOW</button> <button onclick="myTable.frame="border"">BORDER</button> <button onclick="myTable.frame="hsides"">HSIDES</button> <button onclick="myTable.frame="lhs"">LHS</button> <button onclick="myTable.frame="rhs"">RHS</button> <button onclick="myTable.frame="vsides"">VSIDES</button> <button onclick="myTable.frame="box"">BOX</button>

</BODY> </HTML>


     </source>
   
  


frame is applied to

   <source lang="html4strict">

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

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

"frame" Syntax and Note

   <source lang="html4strict">

Note:

This attribute determines how to display a table"s border frame. Possible values include void (default), above, below, border, box, hsides, lhs, rhs, vsides.

Syntax:

. . .


</source>