<html>
<head>
<style>
table, th, td {
border: 1px solid black;
}
</style>
</head>
<body>
<h1>表格标题</h1>
<h2>水平标题:</h2>
<table>
<tr>
<th>Name</th>
<th>Email</th>
<th>Phone</th>
</tr>
<tr>
<td>李四</td>
<td>john.doe@example.com</td>
<td>123-45-678</td>
</tr>
</table>
<h2>垂直标题:</h2>
<table>
<tr>
<th>Name:</th>
<td>李四</td>
</tr>
<tr>
<th>Email:</th>
<td>john.doe@example.com</td>
</tr>
<tr>
<th>Phone:</th>
<td>123-45-678</td>
</tr>
</table>
</body>
</html>