Press "Enter" to skip to content

htmltable

HTML table tag

HTML Table Tag used for displaying data in grid or tabular form.
Table is consist of rows and columns. Like excel datasheet 

 Table Tags are defined with the table tag. A table is divided into rows with the TR tag ,and each row is divided into data cells with the TD tag. The letters td stands  for table data, which is the content of a data cell. A data cell can contain text, images,  lists, paragraphs, forms, horizontal rules, tables, etc.  

Example for HTML Table

<!Doctype HTML>
<html>

<Body >
<table border=1>
<tr > <td>Sno</td ><td>Name</td ></tr>
<tr > <td>1</td ><td>Johan</td ></tr>
</table>
<Body>
</html>

Related Topic

HTML Table Border

Reference

Wikipedia