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

HTML Talble

The document contains 6 examples of HTML code showing tables with user data like names, last names and ages. The tables demonstrate various ways to structure and style table elements like adding widths, styles and nested elements.

Uploaded by

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

HTML Talble

The document contains 6 examples of HTML code showing tables with user data like names, last names and ages. The tables demonstrate various ways to structure and style table elements like adding widths, styles and nested elements.

Uploaded by

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

1.

</tr> </tr>
<table style="width:10 <tr style="height:20 </table>
0%"> 0px">
6. <html>
<tr> <td>Jill</td>
<head>
<th>Firstname</th> <td>Smith</td>
<style>
<th>Lastname</th> <td>50</td>
.city {
<th>Age</th> </tr>
background-color: to
</tr> <tr>
mato;
<tr> <td>Eve</td>
color: white;
<td>Jill</td> <td>Jackson</td>
border: 2px solid
<td>Smith</td> <td>94</td>
black;
<td>50</td> </tr>
margin: 20px;
</tr> </table>
padding: 20px;
<tr>
4. <table> }
<td>Eve</td>
<tr> </style>
<td>Jackson</td>
<th>Firstname</th> </head>
<td>94</td>
<th>Lastname</th> <body>
</tr>
<th>Age</th>
</table>
</tr> <div class="city">
2. <tr> <h2>London</h2>
<table style="width:10 <td>Jill</td> <p>London is the
0%"> <td>Smith</td> capital of
<tr> <td>50</td> England.</p>
<th style="width:7 </tr> </div>
0%">Firstname</th> <tr>
<th>Lastname</th> <td>Eve</td> <div class="city">
<th>Age</th> <td>Jackson</td> <h2>Paris</h2>
</tr> <td>94</td> <p>Paris is the
<tr> </tr> capital of France.</p>
<td>Jill</td> </table> </div>
<td>Smith</td>
5. <table>
<td>50</td> <div class="city">
<tr>
</tr> <h2>Tokyo</h2>
<th>Firstname</th>
<tr> <p>Tokyo is the
<td>Jill</td>
<td>Eve</td> capital of Japan.</p>
<td>Eve</td>
<td>Jackson</td> </div>
</tr>
<td>94</td>
<tr>
</tr> </body>
<th>Lastname</th>
</table> </html>
<td>Smith</td>
3. <td>Jackson</td>
<table style="width:10 </tr>
0%"> <tr>
<tr> <th>Age</th>
<th>Firstname</th> <td>94</td>
<th>Lastname</th> <td>50</td>
<th>Age</th>
7.

You might also like