From Where the Learning begins...

HTML Tables

(If this article you will learn to design HTML Tables in your Webpage)

HTML tables  is a two dimensional matrix consisting of rows and columns. Tables are intended for displaying data in column on a web page.  All table related tags are included between the <TABLE>  and </TABLE> tags. Each row of a table is described between the <TR> </TR> tags. Each column of a table is described between the <TD> </TD> tags.

Example of an HTML Table Program

First HTML Table Code:-

<HTML>
<HEAD>
<TITLE>HTML Tables</TITLE>
</HEAD>
<BODY>
<TABLE Border="1">
<TR>
<TD>Row 1, Column 1</TD>
<TD>Row 1, Column 2</TD>
</TR>
<TR>
<TD>Row 2, Column 1</TD>
<TD>Row 2, Column 2</TD>
</TR>
</TABLE>
</BODY>
</HTML>

This will produce the following Output:-

Row 1, Column 1 Row 1, Column 2
Row 2, Column 1 Row 2, Column 2

Quick Links

More

Social Media