表格,表單(練習),表格表單練習

來源:互聯網
上載者:User

表格,表單(練習),表格表單練習

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
body{
margin: 0;padding: 0;
}
span{
width: 35px;
height: 25px;
display: inline-block;
background: url(../images/1.png);
}
.two{
background-position: -35px -50px;
}
.three{
background-position: 35px 75px
}
.four{
background-position:
}
.five{
background-position:
}
</style>
</head>
<body>
<input type="date">
<br>
<br>
<br>
<br>
<br>
<br>
<table border="2">
<tr>
<th>1</th><th>2</th><th>3</th><th>4</td>

</tr>
<tr>
<td>上海</td><td>廣州</td><td>深圳</td><td>海口</td>

</tr>
<tr>
<td>上海</td><td>廣州</td><td>深圳</td><td>海口</td>

</tr>
<tr>
<td>上海</td><td>廣州</td><td>深圳</td><td rowspan="2">海口</td>

</tr>
<tr>
<td colspan="2">上海</td><td>深圳</td>

</tr>
</table>


<hr>
<form action="a.php" method="post">
使用者:<input type="text" required autofocus /><br>
密碼:<input type="password"/>

<input type="radio" name="gender" value="male" />男
<input type="radio" name="gender" value="female" checked />女<br />
<input type="submit" value="提交"/><br>
</form>

<select>
<option>廣州</option>
<option>長沙</option>
<option selected>海口</option>
</select>
<input type="file" />
<br>
<textarea rows="10" cols="50">
請留言
</textarea>

<ul>
<li><span></span>1</li>
<li><span class="two"></span>2</li>
<li><span class="three"></span>3</li>
<li><span class="four"></span>4</li>
<li><span class="five"></span>5</li>
</ul>
</body>
</html>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.