Hi developers, in this article I am going to share all HTML Table attributes with you that you will use while creating HTML tables in your web project. Based on different layout.
So, here is the list of All HTML Table Attributes with explanation and code example so that you can learn All HTML Table Attribute by real example:
border
The border attribute in HTML table is used to add a border on table. In real example it’s make a look of HTML table like a real table including rows and columns.
Code Example
cellpadding
In HTML table cellpadding attribute is used to specify the space between the cell content and the cell borders.
Code Example
cellspacing
In HTML table the cellspacing attribute is used to specify the space between the table cells.
Code Example
width
As the name suggests itself, the width HTML table attribute is used to adjust or set the width of table.
Code Example
height
The height table attribute in HTML is used to adjust or set the height of table.
Code Example
summary
This HTML Table attribute provides a description or summary of HTML table’s purpose and structure. It working something like a ‘tooltip’.
Code Example
align
This HTML Table attribute specify the horizontal alignment of the table on the web page.
Code Example
bgcolor
bgcolor HTML Table attribute is used to set the background color of the table.
Code Example
colspan
The colspan table attribute is used to specify the number of columns a cell should span.
Code Example
rowspan
The rowspan table attribute is used to specify the number of rows a cell should span.
Code Example
Nice
Thanks 💞
It is truly a nice and helpful piece off info.
I am satisfied that you simply shared thhis helpul info with
us. Please stay us up to date like this. Thans for sharing. https://Www.waste-ndc.pro/community/profile/tressa79906983/