<table> Tag in HTML 5

In this article I am going to explain about <table> tag in Html 5.
  • 1968

Definition

The <table>  tag use for insert table in  html document. <table> tag consist of row and column. In html we defined table row as <tr> and column <td>, and also table heading defined by <th>.  In table tag we can set many tape of properties such as table border, cell span, row span etc.

Browser that supports <table> tag

 Internet explorer, Mozilla firefox, Google chrome, Opera and Safari browsers.

Lets take an example of <table> tag

<html>
  <table border="1">
     <tr>
        <th> Name</th>
        <th>Age</th>
     </tr>
      <tr>
        <td>Shayam</td>
        <td>29</td>
      </tr>
<html>

Output

table.jpg

Further Readings

You may read more about HTML 5 Tags:  here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.