HTML CSS Reference/HTML Attributes Reference/cellpadding

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

"cellpadding" Example

   <source lang="html4strict">
   

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

This table has cellpadding="15";
Cell 1 Cell 2

</BODY> </HTML>


     </source>
   
  


cellpadding is applied to

   <source lang="html4strict">

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

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

"cellpadding" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the empty width between a cell"s border and its content. Its value can be an integer that specifies the amount of space in pixels. Its value can also be a percentage of the total cell size to use as space.

Syntax:

. . .


</source>