HTML
HTML(Hyper Text Markup Language):超文本标记语言,标签不区分大小写.
基本結構
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="关键字">
<meta name="description" content="文本介绍">
<style></style>
<link rel="stylesheet" href="css.css">
<title>HTML</title>
</head>
<body>
<p><p>
<p style="color:green;"></p>
</body>
</html>
文本
<h1></h1>标题1...标题6<h6></h6>
<header>头部</header>
<nav>导航栏</nav>
<footer>底部</footer>
<aside>侧边</aside>
<br/>换行
<span>Span</span>
<b>粗体</b>
<em>强调</em>
<small>小号文本</small>
<adress>地址</adress>
<big>大号字</big>
<i>斜体字</i>
<strong>加重语气</strong>
<sub>下标</sub>
<sup>上标</sup>
<ins>插入字</ins>
<del>删除字</del>
<aside>侧栏/aside>
列表
<ul type="square">
<li>无序列表</li>
</ul>
<ol type="a">
<li>有序列表</li>
</ol>
<dl>
<dt>自定义列表描述</dt>
<dd>自定义列表项的描述</dd>
</dl>
表单
<form name="form_name" method="get" action="">
<fieldset>
<label for="male">Look Gird</label>
<input type="radio" name="单选按钮" value="" placeholder="">
<input type="text" name="文本输入" value="" placeholder="">
<input type="checkbox" name="多选按钮" value="" placeholder="">
<input type="submit" name="提交" value="" placeholder="">
<input type="reset">
<input type="email" multiple>
<input type="password">
<input type="tel" name="tel">
<input type="url">
<textarea cols="每行中的字符数" rows="显示的函数">
<select>
<option></option>
</select>
</fieldset>
</form>
表单
<table border="1">
<caption>表格标题</caption>
<tr>
<td>第一行</td>
<th rowspan="2">第二行</th>
</tr>
<tr>
<td>第一行</td>
<td colspan="2">第二行</td
</tr>
</table>
补充
<!--注释文本-->
<img alt="图片" src="x" width="100" height="120">
<audio controls>
<source src="" type="audio/mp3">
</audio>
<iframe src="x" width=""height=""
<video src="x" controls="controls" autoplay loop preload width="100"height="110">
<a href="www.baidu.com"></a>