代碼沒(méi)寫(xiě)錯(cuò),但為什么提交顯示不出來(lái)效果呢
<body>
<talbe border="1">
? ? <caption>前端三劍客</caption>
? ? <tr>
? ? ? ? <th>知識(shí)點(diǎn)</th>
? ? ? ? <th>重要程度</th>
? ? ? ? <th>難度</th>
? ? ? ? <th>學(xué)習(xí)周期</th>
? ? </tr>
? ? <tr>
? ? ? ? <td>html</td>
? ? ? ? <td>5星</td>
? ? ? ? <td>3星</td>
? ? ? ? <td>7天</td>
? ? </tr>
? ? <tr>
? ? ? ? <td>css</td>
? ? ? ? <td>5星</td>
? ? ? ? <td>4星</td>
? ? ? ? <td>10天</td>
? ? </tr>
? ? <tr>
? ? ? ? <td>js</td>
? ? ? ? <td>5星</td>
? ? ? ? <td>5星</td>
? ? ? ? <td>20天</td>
? ? </tr>
</talbe>??
</body>
2021-08-20
table 標(biāo)簽寫(xiě)錯(cuò)了,你看下
2021-05-20
table寫(xiě)錯(cuò)了
2021-05-12
table標(biāo)簽檢查一下不是talbe
2021-04-20
沒(méi)有對(duì)代碼進(jìn)行修改,把代碼刪掉重新編寫(xiě)就可以了
2021-04-19
我把你的代碼復(fù)制到Sublime里看了下,發(fā)現(xiàn)你的代碼與代碼的行距太大了,而且也沒(méi)加<thead></thead><tbody></tbody>,你加上試試。我也幫你打了下
<head>
? ? <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
? ? <title>Document</title>
<style>
table{
? ? border-collapse:collapse;
? ? margin:0 auto;
? ? width:300px;
? ? height:150px;
}
caption{
? ? font-size:20px;
? ? font-weight:bold;
}
td,th{
? ? border:1px solid black;
? ? text-align:center;
}
</style>
</head>
<body>
? ? <table>
? ? ? ? <caption>前端三劍客</caption>
? ? ? ? <thead>
? ? ? ? ? ? <tr>
? ? ? ? ? ? ? ? <th>知識(shí)點(diǎn)</th>
? ? ? ? ? ? ? ? <th>重要程度</th>
? ? ? ? ? ? ? ? <th>難度</th>
? ? ? ? ? ? ? ? <th>學(xué)習(xí)周期</th>
? ? ? ? ? ? </tr>
? ? ? ? </thead>
? ? ? ? <tbody>
? ? ? ? ? ? <tr>
? ? ? ? ? ? <td>html</td>
? ? ? ? ? ? <td>5星</td>
? ? ? ? ? ? <td>3星</td >
? ? ? ? ? ? <td>7天</td>
? ? ? ? ? ? </tr>
? ? ? ? ? ? <tr>
? ? ? ? ? ? <td>css</td>
? ? ? ? ? ? <td>5星</td>
? ? ? ? ? ? <td>4星</td >
? ? ? ? ? ? <td>10天</td>
? ? ? ? ? ? </tr>
? ? ? ? ? ? <tr>
? ? ? ? ? ? <td>js</td>
? ? ? ? ? ? <td>5星</td>
? ? ? ? ? ? <td>5星</td >
? ? ? ? ? ? <td>20天</td>
? ? ? ? ? ? </tr>
? ? ? ? </tbody>
? ? </table>
</body>