"Table" tag using in HTML

"Table" tag using in HTML

<table> Tag In HTML

Table of contents

No heading

No headings in the article.

Generally, In Table content there are made up of two main things which are "Table Head " and "Table Body" .

*A table is a data structure that organizes information into rows and columns. It can be used to both store and display data in a structured format. Table tag is use to display table in web page. There are many other tag that is used to give the structure of table.

Syntax:-

……………

To give the name of table, tag is used just after of table tag. The table name is displayed as above the center of the table.*

Some Table Property:-

: This is a Header part of table.

: It is define row of table.

: It is define header cell of table.

: This is a body of table.

: It is define cell in a table.

: It is define footer content in a table.

Example:: Source Code

Subject Name Maximum Mark Obtained Mark
Mathematics 100 87
Physics 100 81
Chemistry 100 89

Output ::

             Subject Name    Maximum Mark    Obtained Mark
              Mathematics           100                          87          
              Physics                       100                          81
              Chemistry                100                          89