![]() |
VOOZH | about |
The HTML <table> cell padding Attribute is used to specify the space between the cell content and cell wall. The cellpadding attribute is set in terms of pixels. By default, the padding is set to 0.
Note: The <table> cellpadding Attribute is not supported by HTML5.
<table cellpadding="pixels">pixels: It holds the space between the cell content and cell wall in terms of pixels.
Example 1: In this example, we will see the implementation of table cell padding with an example.
Output:
👁 ImageExample 2: In this example, we will see the implementation of table cell padding with another example.
Output:
👁 Screenshot-2023-12-26-161819