Html <table> Attributes And Its Example
<table> Attribute :
HTML table tag is used to display data in tabular form (row * column). The HTML table model allows authors to arrange data - text, preformatted text, images, links, forms, form fields, other tables, etc. -- into rows and columns of cells.
The HTML tables are created using the <table> tag in which the <tr> tag is used to create table rows and <td> tag is used to create data cells. The elements under <td> are regular and left aligned by default.
Table Simple (Example 1):
Output:
Table Border (Example 2):
Output:
Example 3:
The Output which is shown below contains only html, External css been used for styling the table.
Table Output:
