HTML 'table' Element Attributes

Q

What Are the Attributes of a "table" Element?

✍: FYIcenter.com

A

A "table" element may have the following commonly used attributes:

  • "summary" - Specifies a text string as the summary of the table.
  • "width" - Specifies the width of the table.
  • "border" - Specifies the border width.
  • "frame" - Specifies how the outer borders should be displayed.
  • "cellspacing" - Specifies the space between cells.
  • "cellpadding" - Specifies the space between the cell walls and contents.

"summary" is easy to understand and does not make any difference on the appearance of the table. But other attributes have major impacts on how your table appears in the browser window.

 

Creating HTML Table Borders

HTML Table Cell 'td' Tag/Element

HTML Tables and Table Cells

⇑⇑ HTML Tutorials

2017-05-13, 1630🔥, 0💬