![]() |
The HTML DOM TableData align property is used to set or return the horizontal alignment of the content within the table cell. It is not supported by HTML5. Syntax:
TableDataobject.align
TableDataObject.align = "left | right | center | justify | char" Property Values:
Return Values: It returns a string value that represents the alignment of the TableData element. Example 1: Below HTML code returns the TableData align property. HTML
Output: Example 2: Below code sets the TableData to align property. HTML
Output: Supported Browsers: The browser supported by HTML DOM TableData align attributes are listed below:
|
Reffered: https://www.geeksforgeeks.org
HTML |
Related |
---|
![]() |
![]() |
![]() |
![]() |
![]() |
Type: | Geek |
Category: | Coding |
Sub Category: | Tutorial |
Uploaded by: | Admin |
Views: | 10 |