亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

HTML中常用標(biāo)簽及屬性

Original 2019-06-29 11:43:17 1655
abstract:<!doctype html><html><head><meta charset="UTF-8"><title>HTML常用標(biāo)簽及屬性</title><style>font-weight:bold; //字體加粗font-family:楷體; //改變字體類型text-align:left ce

<!doctype html>

<html>

<head>

<meta charset="UTF-8">

<title>HTML常用標(biāo)簽及屬性</title>

<style>

font-weight:bold; //字體加粗

font-family:楷體; //改變字體類型

text-align:left center raght;//文本 靠左  居中 靠右

line-height:10px; //行高

text-dcoration:none; //鏈接取消下劃線

text-dcoration:underline; //鏈接顯示下劃線

list-style:none; //去除ul li前的點(diǎn)

border:1px solid #ccc; //邊框



 


</style>

</head>

<body>

<em>斜體-加粗</em>

<strong>正常加粗</strong>

<i>斜體</i>

<b>加粗</b>

<pre>預(yù)格式文本</pre>

<h1>標(biāo)題</h1>

<p>段落</p>

<a>鏈接</a>

<span>常用于文本<span>

<sub>下標(biāo)</sub>

<sup>上標(biāo)<sup>

<!--錨點(diǎn)-->

<a href="top"></a>

<a href="#" id="top">返回頂部</a>

<!--有序列表-->

<ol>

<li>1</li>

<li>2</li>

<li>3</li>

</ol>

<!--無序列表-->

<ul>

<li>1</li>

<li>2</li>

<li>3</li>

</ul>

<!--自定義列表-->

<dl>

<dt>標(biāo)題</dt>

<dd>1</dd>

<dd>2</dd>

<dd>3</dd>

</dl>

<!--表單-->

<form action="1.html" method="post">

文本:<input type="text" name="name">

密碼:<input type="password" name="name" placeholder="請(qǐng)輸入密碼">

單選:<input type="radio" name="name">

多選:<input type="checkbox" name="name">

提交:<input type="submit" name="name">

重置:<input type="reset" name=""name>

<button>按鍵</button>

</form>

<table>

<tr>

<th>ID</th>

<th>name</th>

<th>age</th>

</tr>

<tr>

<td>1</td>

<td>peter</td>

<td>18</td>

</tr>

<tr>

<td>1</td>

<td>peter</td>

<td>18</td>

</tr>

</table>

</body>

</html>

Correcting teacher:天蓬老師Correction time:2019-06-29 13:25:19
Teacher's summary:以后寫表格的時(shí)候, 盡可能加上tbody, 就算你不加, 瀏覽器也會(huì)自動(dòng)幫你加上的, 還不如手工加上以防止js操作表格時(shí)出錯(cuò)

Release Notes

Popular Entries