表格属性操作

Original 2019-03-04 10:49:46 230
abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title></title> <link rel="stylesheet" type="text/css" href=""> <

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title></title>

<link rel="stylesheet" type="text/css" href="">

<link rel="shortcut icon" type="image/x-icon" href="./1.ico">

<style type="text/css">

ul li{list-style:url(./11.jpg);}

table{border: 1px solid #ccc;border-collapse: collapse;}

tr td{height: 200px;border: 1px solid #ccc;width: 100px;}

tr th{height: 200px;border: 1px solid #ccc;width: 100px;}

</style>

</head>

<body>

<table>

<tr>

<th>1</th>

<th>2</th>

<th>3</th>

<th>4</th>

<th>5</th>

</tr>

<tr >

<td colspan="5">合并列</td>

</tr>

<tr>

<td rowspan="2">合并行</td>

<td></td>

<td></td>

<td></td>

<td></td>

</tr>

<tr>

<td></td>

<td></td>

<td></td>

<td></td>

</tr>

</table>

</body>

</html>


Correcting teacher:韦小宝Correction time:2019-03-04 11:17:26
Teacher's summary:在HTML的基础中表格还是很重要的 以后很多地方呈现数据或者是制作列表都会用到表格

Release Notes

Popular Entries