<table>
<tr> <!-- This is the first row -->
<th>This is the heading</th>
<th>Next heading to the right</th>
</tr>
<tr> <!-- This is the second row -->
<td>This is where the table data goes</td>
<td>This is the second columns data</td>
</tr>
</table>
HTML123456789101112<table data-order='[[ 1, "asc" ]]' data-page-length='25'> <thead> <tr> <th>Name</th> <th>Position</th> <th>Office</th> <th>Age</th> <th>Start date</th> <th data-class-name="priority">Salary</th> </tr> </thead></table>
<!DOCTYPE html>
<html>
<style>
table, th, td {
border:1px solid black;
}
</style>
<body>
<h2>A basic HTML table</h2>
<table style="width:100%">
<tr>
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>
<p>To understand the example better, we have added borders to the table.</p>
</body>
</html>
Code Example |
---|
Html :: button attributes in html |
Html :: allow transparency wpf window |
Html :: twig map |
Html :: vuejs v-for array index |
Html :: set text of file input |
Html :: html vs htm |
Html :: javascript object reference |
Html :: input form |
Html :: can i use the input tag without the form tag |
Html :: a href tag |
Html :: img svg not loading |
Html :: html email button |
Html :: how to pass the current url to beautiful soup html |
Html :: how to call a script from another script in javascript |
Html :: git list deleted files |
Html :: html make range bar show value |
Html :: how to make buttons side by side html |
Html :: how to add number input field with default value |
Html :: blinking text in html using javascript |
Html :: html make an alert for delete |
Html :: icheck js |
Html :: html make a cube |
Html :: anchor html |
Html :: toggle button |
Html :: bootstrap form input select |
Html :: html <div |
Html :: Remove White Space Below Image Elements |
Html :: bootstrap navvar |
Html :: game engine |
Html :: p tags |