1.什么是htmlhtml
用来描述网页的
2.开发工具
咱们确定是用vs啦
3.img
src 图片地址工具
1 <img src="img/aa.bmp" />; 开发工具
4.超连接a标签
href
target
_self当前页面
_blank新的页面spa
1 <a href="Html04%e4%bd%9c%e4%b8%9a1.html" target="_blank"><input type="button" value="确认" /></a>
5.有序列表,无序列表(dl)
ulcode
ol type:a,1,iorm
1 <ol type="a"> 2 <li>爱</li> 3 <li>青苹果乐园</li> 4 <li>哈哈</li> 5 <li>我爱乐园</li> 6 <li>不是青苹果</li> 7 </ol> 8 <ul> 9 <li>爱</li> 10 <li>青苹果乐园</li> 11 <li>哈哈</li> 12 <li>我爱乐园</li> 13 <li>不是青苹果</li> 14 </ul>
6.表格
table tr行 td单元格
tbody:
th:htm
<table border="1" width="400px" height="100px"> <tr align="center"> <td>姓名</td> <td>性别</td> <td>工资</td> </tr> <tr align="center"> <td>李京阳</td> <td>男</td> <td>15000</td> </tr> <tr align="center"> <td>吴春湖</td> <td>男</td> <td>5000</td> </tr> <tr align="center"> <td>刘彬</td> <td>男</td> <td>1000</td> </tr> </table>
7.表单
form表单元素:ation,method:
input 经过修改他的type 输入框 ,密码框 按钮 (选框 多选框使用checked让他被选中) 重置,提交,
label
select:option 使用selected让某个被选中
reset:只能重置他所在的form标签blog
1 <form> 2 <b><p>登陆您的QQ邮箱</p></b> 3 <hr /> 4 <label>帐号:</label> 5 <input type="text" /> 6 <select> 7 <option>@qq.com</option> 8 <option>@sina.com</option> 9 <option>@168.com</option> 10 <option>@fox.com</option> 11 </select> 12 <p> 推荐使用邮箱帐号,如chen@qq.com</p> 13 <label>密码:</label> 14 <input type="text" /> 15 <p> <input type="checkbox" name="Login" /><label>记住登陆状态</label></p> 16 <p> <input type="button" value="登陆" style="width:60px;height:30px"/></p> 17 </form>