0% found this document useful (0 votes)
60 views2 pages

Table One

The document is an HTML code snippet that creates a table with four columns: roll number, name, address, and email ID. It includes three rows of data for individual entries, each containing a student's information. The table is styled with a red border and uses standard HTML table elements.

Uploaded by

Ravinder Soni
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)
60 views2 pages

Table One

The document is an HTML code snippet that creates a table with four columns: roll number, name, address, and email ID. It includes three rows of data for individual entries, each containing a student's information. The table is styled with a red border and uses standard HTML table elements.

Uploaded by

Ravinder Soni
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/ 2

<!

-- <table>
</table>
<th></th>== this stand for table heading
<td></td>== table data
<tr></tr>== table row -->

<!DOCTYPE html>
<html>
<head>
<style>
table,td,th{border:2px solid red;
border-collapse:collapse
}

</style>

</head>
<body>

<!-- starting of table tag -->


<table>
<!-- starting of first row-->
<tr>
<th>roll no.</th>
<th>name</th>
<th>address</th>
<th>emailid</th>
</tr>
<!-- end of first row-->

<!-- second row-->

<tr>
<td>1</td>
<td>charchil</td>

<td>kamla nagar</td>
<td>charchil@gmail.com</td>
</tr>
<!--third row-->
<tr>
<td>2</td>
<td>pankaj</td>
<td>shastri nagar</td>
<td>pankaj@gmail.com</td>
</tr>

<!--forth row-->
<tr>
<td>3</td>
<td>naman</td>
<td>burari</td>
<td>naman@gmail.com</td>
</tr>

</table>
<!-- closing of table tag -->
</body>
</html>

You might also like