学习HTML常用标签及属性

Original 2019-03-26 00:00:57 209
abstract:<!DOCTYPE html><html><head> <meta charset="utf-8"> <title>学习HTML常用标签及属性</title> <link rel="shortcut icon" type="imgae/x-icon" href=

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>学习HTML常用标签及属性</title>

<link rel="shortcut icon" type="imgae/x-icon" href="image/favicon.icon">

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

<style type="text/css">

*{margin: 0px;padding: 0px;}

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">合并行 1</td>

<td>2</td>

<td>3</td>

<td>4</td>

<td>5</td>

</tr>

<tr>

<td>2</td>

<td>3</td>

<td>4</td>

<td>5</td>

</tr>

</table>

</body>

</html>


Release Notes

Popular Entries