標籤:下拉 格式化 enter head sel tip select標籤 checkbox meta
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" type="text/css" href="">
<style type="text/css">
*{
background-color: black;
color: white;
text-align: center;
}
</style>
</head>
<body>
<strong>重點加粗</strong> <br>
<em>加斜體</em><br>
<span>無語義,用於設定樣式</span><br>
<q>短文本引用,自動加引號</q><br>
<blockquote>"長文本引用,不自動加引號"</blockquote><br>
換行<br>
空格<br>
<hr>加橫線<br>
<address>地址標籤</address><br>
<code>代碼標籤,只限一行代碼,顯示原有格式</code><br>
<pre>預格式化文本,主要用於顯示多行代碼</pre><br>
<!--<ul>列表1
<li>無序</li>
<li>資訊列表</li>
</ul>
<ol>列表2
<li>有序</li>
<li>資訊列表</li>
</ol>
<div>作為容器劃分板塊</div>
<table>
<caption>表格</caption>
<tr>
<th>表頭1</th>
<th>表頭2</th>
</tr>
<tr>
<td>儲存格1</td>
<td>儲存格2</td>
</tr>
</table>-->
<a href="#" title="滑鼠滑過顯示的文本" >超連結</a><br>
<img src="image/lol-1.jpg"><br>顯示圖片<br>
<form method="傳送方式:post/get" action="伺服器檔案">表單<br>
帳號<input type="text" name="名稱" value="輸入框預設值">
<input type="reset" value="重設" name="">
<br>
密碼<input type="password">
<input type="reset" value="重設" name=""><br>
<input type="submit" value="提交按鈕" name=""><br>
<textarea cols="50" rows="5">多行文本輸入</textarea><br>
單選框
<input type="radio" name="名稱" value="值" checked="checked"><br>
多選框
<input type="checkbox" name=""><br>
<select>
<pre>在select標籤裡加上mutiple="multiple"可以設為下拉式清單多選</pre>
<option value="提交值">選項1</option>
<option value="">選項2</option>
</select><br>
<label></label>
</form>
</body>
</html>
html學習筆記