创建表格的四种标签
通过下列案例演示,代码如下:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>学习表格标签</title>
</head>
<body>
<table border="1">
<caption>前端三剑客</caption>
<tr>
<th>知识点</th>
<th>重要程度</th>
<th>难度</th>
<th>学习周期</th>
</tr>
<tr>
<th>html</th>
<th>5星</th>
<th>3星</th>
<th>7天</th>
</tr>
<tr>
<th>css</th>
<th>5星</th>
<th>4星</th>
<th>10天</th>
</tr>
<tr>
<th>js</th>
<th>5星</th>
<th>5星</th>
<th>20天</th>
</tr>
</table>
</body>
</html>
运行结果如下:
END
感谢看到这里的各位读者朋友们,如果你感到本文写的不错,就顺手点个赞收藏一下,也可以关注一波~~