HTML: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 69:
</div>
</pre>
;Adding Tables
<syntaxhighlight lang="html">
<style>
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
th, td {
padding: 5px;
text-align: left;
}
</style>
<body>
<table style="width:100%">
<tr><th>Month</th></tr>
<tr><td>January</td></tr>
</table>
</body>
</syntaxhighlight>
<br />
|