网页 HTML表单

今天,我首先先学习了图片热点和在原来页面嵌入其他页面。
图片热点:<img src="" usemap="#ditu"/>
<map name="ditu">
<area shape="rect" coords="196,92,296,192" href="http://www.baidu.com"/>
</map>
在原来页面嵌入其他页面:
<iframe src="其他页面的地址" width="" height="" frameborder="0" scrolling="0">
</iframe>
接下来,我学习了本部分的重点内容——表单,<form></form>。表单主要包括三种类型:文本输入、按钮、选择输入。
1.文本输入
文本框<input type="text"/>
密码框<input type="password"/>
文本域<textarea cols="" rows=""></textarea>
2.按钮
提交按钮<input type="submit" value="提交"/>
重置按钮<input type="reset" value="重置"/>
普通按钮<input type="button" value=""/>
图片按钮<input type="image" src="图片地址"/>
3.选择输入
单选按钮组<input type="redio" name="" />
复选框组<input type="checkbox"/>
下拉列表框
<select size="1">
<option>内容1</option>
<option>内容2</option>
<option>内容3</option>
</select>

posted @ 2016-08-10 22:20  兔小灰385  阅读(142)  评论(0编辑  收藏  举报