HTML DOM Style Object - Table Border Properties

What are all the Dom table border properties available in the style object?

Explanation

HTML DOM Style Object Table Border Property:
The table object border property is used to set the various values to the border element at runtime.The border properties of the style object were listed in the table given below:
syntax:
object.style.property=value
Table Property Description values
borderspecifies all properties for the four borders in oneborder
Widthborder
StyleborderColor
borderBottomspecifies all properties for the bottom borderborderWidth
borderStyle
borderColor
borderBottomColorspecifies the color of the bottom bordername
rgb
hex
borderBottomStylespecifies the style of the bottom borderhidden
dotted
dashed
solid
double
groove
borderBottomWidthspecifies the width of the bottom borderthin
medium
thick
length
borderColorspecifies the color of all four borders (can have up to four colors)name
rgb
hex
borderLeftspecifies all properties for the left border in oneborderWidth
borderStyle
borderColor
borderLeftColorSpecifies the color of the left bordername
rgb
hex
borderLeftStylespecifies the style of the left borderhidden
dotted
dashed
solid
double
groove
borderLeftWidthspecifies the width of the left borderthin
medium
thick
length
borderRightspecifies all properties for the right border in oneborderWidth
borderStyle
borderColor
borderRightColorspecifies the color of the right bordername
rgb
hex
borderRightStylespecifies the style of the right borderhidden
dotted
dashed
solid
double
groove
borderRightWidthspecifies the width of the right borderthin
medium
thick
length
borderStylespecifies the style of all four borders (can have up to four styles)hidden
dotted
dashed
solid
double
groove
borderTopspecifies all properties for the top border in oneborderWidth
borderStyle
borderColor
borderTopColorspecifies the color of the top bordername
rgb
hex
borderTopStylespecifies the style of the top borderhidden
dotted
dashed
solid
double
groove
borderTopWidthspecifies the width of the top borderthin
medium
thick
length
borderWidthspecifies the width of all four borders (can have up to four widths)thin
medium
thick
length
marginspecifies the margins of an element (can have up to four values)margin
marginBottomspecifies the bottom margin of an elementauto
length
%
marginLeftspecifies the left margin of an elementauto
length
%
marginRightspecifies the right margin of an elementauto
length
%
marginTopspecifies the top margin of an elementauto
length
%
outlinespecifies all outline properties in onewidth
style
color
outlineColorspecifies the color of the outline around a elementname
rgb
hex
outlineStylespecifies the style of the outline around an elementhidden
dotted
dashed
solid
double
groove
outlineWidthspecifies the width of the outline around an elementthin
medium
thick
length
paddingspecifies the padding of an element (can have up to four values)padding
paddingBottomspecifies the bottom padding of an elementlength
%
paddingLeftspecifies the left padding of an elementlength
%
paddingRightspecifies the right padding of an elementlength
%
paddingTopspecifies the top padding of an elementlength
%

Ask Questions

Ask Question