0% found this document useful (0 votes)
11 views7 pages

Class 3

The document provides an overview of HTML tables, explaining their structure and components such as rows, columns, and headers. It includes examples of HTML table tags and attributes like rowspan and colspan. Additionally, it encourages practice by asking the reader to recreate a given table using HTML.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views7 pages

Class 3

The document provides an overview of HTML tables, explaining their structure and components such as rows, columns, and headers. It includes examples of HTML table tags and attributes like rowspan and colspan. Additionally, it encourages practice by asking the reader to recreate a given table using HTML.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

HTML CLASS-3

Tables in HTML

A Table is an element that allow for the


representation of data in two dimensions; these
dimensions are columns Rows.
TABLE IN HTML
Top 4 founders of internet companies
<table>
<caption> Table Caption </caption>

<tr>
<th> Head 1 </th>
<th> Head 2</th>
</tr>

<tr>
<td> Data </td>
<td> Data </td>
</tr>

</table> >
Table tags in HTML Search . . .

<tr>
Used to display table row

<td>
Used to display table data
HARDWARE

<th>
Used to display table Header
Semantic Tags in HTML Search . . .

<thead> To Wrap table header

<tbody> To Wrap table body

HARDWARE
<tfoot> To Wrap table footer
Attributes in tables Search . . .

Rowspan= “ ”
The rowspan attribute in HTML specifies the number of rows a
table cell should span vertically.

The colspan attribute in HTML

Colspan = “ ”
specifies the number of columns a
table cell should span
horizontally.
Practice Q1
Re-Create the following Table using HTML
THANK YOU
END SLIDE

You might also like