Paste your text into the text box below and click 'Convert'. If the first row contains column headings these will be marked using as <th> tags.
This page allows you to convert a block of comma (CSV) or tab (TSV) separated text into an HTML table.
This text can include data cut and pasted from Microsoft Excel and Word.
Paste your text into the text box below and click 'Convert'. If the first row contains column headings these will be marked using as <th> tags.
Header 1 Header 2 Header 3
Test 1 Test 2 Test 3
<table border="1">
<tbody>
<tr><td>Header 1</td><td>Header 2</td><td>Header 3</td></tr>
<tr><td>Test 1</td><td>Test 2</td><td>Test 3</td></tr>
</tbody>
</table>
The table markup is fairly basic but you can use CSS to style the table. The following example stylesheet provides some basic formatting :
table {
font-size: 12px;
margin-left:auto;
margin-right:auto;
border-collapse: collapse;
}
table th {
font-size: 14px;
font-weight: bold;
border: 1px solid #999999;
padding: 0px 5px;
}
table td {
border: 1px solid #999999;
padding: 5px 5px;
}
Copyright © 2024
tech-spy.co.uk | raspberrypi-spy.co.uk | matthawkins.co.uk | freespecialeffects.co.uk