<html><head><style>table, td, th { border: 1px solid; padding: 10px;}th { writing-mode: vertical-lr; text-orientation: upright;}table { width: 200px; border-collapse: collapse;}</style></head><body><h1>让表格表头显示直立字符的垂直文本</h1><table> <tr> <th>Firstname</th> <th>Lastname</th> </tr> <tr> <td>Bill</td> <td>Gates</td> </tr> <tr> <td>Steve</td> <td>Jobs</td> </tr></table></body></html>