html學習筆記

來源:互聯網
上載者:User

標籤:下拉   格式化   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>
&nbsp;空格<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學習筆記

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.