一、HTML基础
<title><title>
<p></p>
<br\>
<strong></strong>
<em></em>
< >
> >
< ; <
<img src="path" alt=图片名字" title="悬浮文字" width="x" height="y" />
<a href="path" target="">文字</a>
#name
块元素 行内元素
<ol>
<li></li>
</ol>有序
<ul>
<li></li>
</ul>无序
<dl>
<dt></dt>
<dd></dd>
<dd></dd>
<dd></dd>
</dl>
<table>
<tr>
<td colspan="4">1</td>
<td rowspan="2">1</td>
<td>1</td>
</tr>
</table>
<video src="" controls autoplay></video>
<audio src=""></audio>
<iframe src="" frameborder="0">
<form method="post" action="">
<p> <input name="pass" type=""></p>
type=radio value name组 单选框
type=ckeckbox value name 多选框
type ="button" name="" value="" 按钮
<input type="submit" name="Button" value="">
<input type="reset" name="Reset" value="">
</from>
下拉框
<p>
<select name= >
<option value="></option>
文本域
<textarea name=""></textarea> cols50 rows10
文件域
<input type="file" name=files>
<input type="button" value=>
邮件
<input type="email" name>
<input type="number" name max min step=1>
滑块
<input type="range" name max min step=2>
hidden readonly disabled
require不能为空 placeholder 提示信息
二、CSS基础
1.标签
2.
<style>
.aka{
}
</style>
<h1 class=""aka">
3.id #id{
}
ul li:first-child{
}
ul li:last-child
p:nth-child(1){
}
hover
<span></span>
JS
number不分小数和整数