時間:2024-02-15 02:50:01 | 來源:網(wǎng)站運營
時間:2024-02-15 02:50:01 來源:網(wǎng)站運營
如何用html做出這樣的表格?: <table><!-- table 是表格開始的html標簽。--> <tr><!-- tr 標簽表示 HTML 中的一排單元格。--> <td> Fuyeor.com </td> <td> Fuyeor.net </td> <td> Fuyeor.org </td> <td> Fuyeor.cn </td><!-- td 標簽 代表HTML表格中的一個單元格--> </tr></table>
html { font-family: sans-serif;}table { border-collapse: collapse; border: 2px solid rgb(200,200,200); letter-spacing: 1px; font-size: 0.8rem;}td, th { border: 1px solid rgb(190,190,190); padding: 10px 20px;}th { background-color: rgb(235,235,235);}td { text-align: center;}tr:nth-child(even) td { background-color: rgb(250,250,250);}tr:nth-child(odd) td { background-color: rgb(245,245,245);}caption { padding: 10px;}
實例關鍵詞:表格
微信公眾號
版權所有? 億企邦 1997-2025 保留一切法律許可權利。