①图片热点

规划出图片上的一个区域,可以做出超链接,直接点击图片区域就可以完成跳转的效果。

显示

②网页划区

在一个网页里,规划出一个区域用来展示另一个网页的内容。

③网页拼接

在一个网络页面内,规划出多个页面窗口,以表格拼接的形式展示出来。

④表单

<form id="" name="" method="post/get" action="负责处理的服务端">

id不可重复,name可重复,get提交有长度限制,并且编码后的内容在地址栏可见,

post提交没有长度限制,且编码后内容不可见。

</form>

1.文本输入

  文本框<input type="txt" name="" id="" value="" />

  密码框<input type="password" name="" id="" value="" />

  文本域<textarea name="" id="" cols=""(字符多少) rows=""(几行高)></textarea>

  隐藏域<input type="hidden" name="" id="" value="" />

2.按钮

  提交按钮<input type="submit" name="" id="" disabled="disabled" value="" />点击后转到form内的提交服务器的地址

  重置按钮<input type="reset" name="" id="" disabled="disabled" value="" />

  普通按钮<input type="button" name="" id="" disabled="disabled" value="" />

  图片按钮<input type="image" name="" id="" disabled="disabled" src="图片地址" />

  disabled使按钮失效

  enable使按钮可用

3.选择输入

  单选按钮组<input type="radio" name="" checked="checked" value="" />

  name的值用来分组,value的值看不见,提交给程序用的,checked设置默认选项。

  复选框组<input type="checkbox" name="" checked="checked" value="" />

  文件上传<input type="file" name="" id="" />

  <lable for=""></lable>

  lable标签为input元素定义标注。

  lable元素不会向用户呈现任何特殊效果,不过,他为鼠标用户改进了可用性。如果您在lable元素内点击文本,就会触发此控件。

  就是说,当用户选择该标签时,浏览器会 将焦点转到和标签相关的表单控件上。

  lable标签的for属性应当与相关元素的id属性相同。

4.下拉列表框

  <select name="" id="" size="" multiple="multiple">

  --size为1时,为菜单;>1时,为列表。multiple为多选。

    <option value="值">内容1</option>

    <option value="值" selected="selected">内容2</option>

    --selected,设为默认

    <option value="值">内容3</option>

  </select>

5.标签

<label></label>

字段集 (一堆label)

<fieldset></fieldset>

示例 邮箱申请

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head> <body >
<table background="weitu/20150403H4633_xLR8N.png" width="41%" height="700" border="0" cellpadding="1" cellspacing="5">
<tr>
<td width="19%">邮箱:</td>
<td width="81%"><form id="form1" name="form1" method="post" action="">
<label for="textfield"></label>
<input type="text" name="textfield" id="textfield" />
</form></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>需要通过邮箱激活账号,不支持sohu,21cn,sogou的邮箱</td>
</tr>
<tr>
<td>登录用户名:</td>
<td><form id="form2" name="form2" method="post" action="">
<label for="textfield2"></label>
<input type="text" name="textfield2" id="textfield2" />
</form></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>仅在登录时使用,字符数不少于4个</td>
</tr>
<tr>
<td>显示名称:</td>
<td><form id="form3" name="form3" method="post" action="">
<label for="textfield3"></label>
<input type="text" name="textfield3" id="textfield3" />
</form></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>即昵称,字符数不少于2个</td>
</tr>
<tr>
<td>密码:</td>
<td><form id="form4" name="form4" method="post" action="">
<label for="textfield4"></label>
<input type="text" name="textfield4" id="textfield4" />
</form></td>
</tr>
<tr>
<td>确认密码:</td>
<td><form id="form5" name="form5" method="post" action="">
<label for="textfield5"></label>
<input type="text" name="textfield5" id="textfield5" />
</form></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>至少8位,必须包含字母、数字、特殊字符</td>
</tr>
<tr>
<td>性别:</td>
<td><form id="form6" name="form6" method="post" action="">
<label for="select"></label>
<select name="select" id="select">
<option value="男">男</option>
<option value="女">女</option>
</select>
</form></td>
</tr>
<tr>
<td>爱好:</td>
<td><form id="form7" name="form7" method="post" action="">
<label for="select2"></label>
<select name="select2" id="select2">
<option value="打篮球">打篮球</option>
<option value="听音乐">听音乐</option>
<option value="看电影">看电影</option>
<option value="看书">看书</option>
</select>
</form></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><form id="form8" name="form8" method="post" action="">
<input type="submit" name="button" id="button" value="注册" />
</form></td>
</tr>
</table>
</body>
</html>

显示

⑤快速制作网页方法

利用Photoshop中的切片工具来规划出要设置链接的位置,设置好后存储为web可使用的html格式。

用DREAMWEAVER打开,打开设计页面,选择切片弄好的位置,在属性中输入超链接的网址即可。

最新文章

  1. Mac上的欧路词典单词本迁移到有道词典 #node.js
  2. 精通CSS version2笔记之⒈选择器
  3. android ExpandableListView详解
  4. ZOJ 3396 Conference Call(3点最小生成树)
  5. PHP字符串操作常用函数
  6. BZOJ1634: [Usaco2007 Jan]Protecting the Flowers 护花
  7. linux中curl命令
  8. ORACLE 更改username
  9. ubuntu上安装adt时无法在线安装的问题
  10. 快速排序——JavaScript实现
  11. Fluxion无线攻击
  12. Unity琐碎(1) 编辑器参数修改
  13. rpm_快速安装saltstake
  14. 在python3下使用OpenCV 显示图像
  15. 向mysql数据库插入大量数据
  16. Javascript实用代码片段(译)
  17. .net 异步函数 Async await
  18. 20165224 陆艺杰 Exp3 免杀原理与实践
  19. 详解Python中的生成器表达式(generator expression)
  20. 【HTTP】WEB机器人

热门文章

  1. Java格式化CST时间(mysql date类型)
  2. idea cannot download sources解决办法
  3. 【makefile】symbol &lt;函数&gt; : can&#39;t resolve symbol 问题分析
  4. ArcGIS:Hello World Maps
  5. 安装nvm 切换nodejs版本
  6. 2017 计蒜之道 初赛 第一场 B阿里天池的新任务(简单)
  7. 九度oj 题目1055:数组逆置
  8. HDU4463-Outlets,简单最小生成树。1A水过~~
  9. POJ 1679 判最小生成树的不唯一性 或 利用次小生成树求解
  10. JPA中映射关系详细说明(一对多,多对一,一对一、多对多)、@JoinColumn、mappedBy说明