0% found this document useful (0 votes)
8 views1 page

New Text Document

The document is an HTML example that showcases a simple table with headers for number, name, age, and country. It includes three rows of data featuring individuals from the USA, UK, and Canada. The table is styled with CSS for better visual presentation.

Uploaded by

rupdebnath2004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views1 page

New Text Document

The document is an HTML example that showcases a simple table with headers for number, name, age, and country. It includes three rows of data featuring individuals from the USA, UK, and Canada. The table is styled with CSS for better visual presentation.

Uploaded by

rupdebnath2004
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Table Example</title>
<style>
table {
width: 100%;
border-collapse: collapse;
}
th, td {
border: 1px solid #ccc;
padding: 10px;
text-align: left;
}
th {
background-color: #f4f4f4;
}
tr:nth-child(even) {
background-color: #f9f9f9;
}
</style>
</head>
<body>
<h1>Sample HTML Table</h1>
<table>
<thead>
<tr>
<th>#</th>
<th>Name</th>
<th>Age</th>
<th>Country</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>John Doe</td>
<td>28</td>
<td>USA</td>
</tr>
<tr>
<td>2</td>
<td>Jane Smith</td>
<td>34</td>
<td>UK</td>
</tr>
<tr>
<td>3</td>
<td>Sam Brown</td>
<td>22</td>
<td>Canada</td>
</tr>
</tbody>
</table>
</body>
</html>

You might also like