1.HTML标签
---Html basic document
<html> <head> <title>显示在网页标签处</title> </head> <body> 整个网页的内容 </body></html>
---Text Elements
<p>段落标签</p>
<br> (line break)---换行
<hr> (horizontal rule)---分割线
---Links,Anchors,and Image Element
<a href = "http://www.baidu.com"/>---链接到指定网址
<a href = "ok.html"/>---连接到自定义的html,需要在相同目录下
<a href = "#tips"/>---跳转到本网页的指定项---<a name = "tips">
---无序列表与有序列表
<ul>---无序列表
<li>列表第一项<li>
<li>列表第二项</li>
</ul>
<ol>---有序列表
<li>列表第一项<li>
<li>列表第二项</li>
<ol/>
---Tables
<table border = "1">---指定边框
<tr>---横行
<tb>
---竖列
</tb>
</tr>
</table>
---Forms
<form action = "ok.html">---指定submit按钮需要执行的动作
<input type = "text" name = "lastname">---文本框
<input type = "password">---密码框
<input type = "checkbox" checked = "checked">---选择框,记住密码样式
<input type = "radio" name checked = "chexked">---单选框,要实现单选需要设置name属性相同
<input type = "submit">---确认框
<input type = "reset">---重置表单,将内容置空
<select>
<option selected>Apple---默认选中
<option>bananas
</select>
<textarea name = "Commmit" rows = "60" cols = "20">---文本域
</textarea>
</form>