'cellspacing' Syntax and Note Note: This attribute sets the width of the empty space between cells in a table. 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: <table cellspacin...
Table cell spacing syntax<table cellspacing = "length"> Example to set table cell spacing<!DOCTYPE html> <html> <head> <style> table, th, td { border: 2px solid #f40; } </style> </head> <body> <p>Table with cellspacing</p> <table cellspacing="20"> <tr> <th>Name</th> <th...
Sets or retrieves the amount of space between cells in a table. Syntax Copy HRESULT IHTMLTable::get_cellSpacing(VARIANT *p); HRESULT IHTMLTable::put_cellSpacing(VARIANT v); Parameters p Pointer to a variable of type VARIANT of type VT_I4 or VT_BSTR that receives one of the values li...
HTML cellspacing attribute supports table element. Syntax<table cellspacing="value" >...</table>Type of valueType of value of HTML cellspacing attribute is pixel, percent or multilength(i.e. relative length). ValueA length in pixels, percent or a relative length. Default...