Table Cellpadding and Cellspacing

Table Cellpadding and Cellspacing

Both of them are used to adjust the white space in table cell. Cellspacing defines the width of the border, while cellpadding represents the distance between cell borders and the content within. Both attributes take numeric values in pixels as shown

<table cellpadding=” numeric_value ” cellspacing=” numeric_value “>

Table Cellpadding and Cellspacing

 

Apply for HTML5 Certification Now!!

http://www.vskills.in/certification/Certified-HTML5-Developer

Back to Tutorial

 

Share this post
[social_warfare]
th Tag for Table Heading
Colspan and Rowspan Attributes

Get industry recognized certification – Contact us

keyboard_arrow_up