Style captionSide Property
Style captionSide Property
The captionSide property is used to either set or return the position of the table caption.
Syntax:-
Its syntax is:- object.style.captionSide OR object.style.captionSide = top|bottom|initial|inherit
Return:-
Its return is:- string having position of the table caption
Further Explanation:-
Value | Description |
---|---|
top | Positions table caption above table. |
bottom | Positions table caption below table. |
initial | Sets property to its default value. |
inherit | Inherits property from its parent element. |