# 18-table-basics / app 表格的 caption、thead/tbody/tfoot、行表头与数值对齐。 ## 运行 ```bash cd tutorials/html python3 -m http.server 8080 # 打开 http://127.0.0.1:8080/examples/18-table-basics/app/ ``` ## 观察 - caption 说明表格主题 - thead 是列表头,tbody 是数据,tfoot 是合计 - 第一列用 th scope="row" 做行表头 - 数字右对齐,合计在 tfoot - 表格外层容器可横向滚动