今天是巩固的from表单跟嵌入其他页面,同样的,学习到了新的知识。

温故而知新:

iframe——在原页面嵌入其他页面,以窗口的样式

其中scrolling——滚动条

noresize——可调整大小

frame——边框线

瞅下练习的代码:

<!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>
<iframeset rows="200,*">
<iframe src="http://www.baidu.com" scrolling="no" noresize"" ></iframe>
<iframe src="http://www.hao360.com"></iframe> </frameset>
</body>
</html>

效果图:

————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————

今天的作业:

代码部分:

<!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 bgcolor="#660000" > <form>
<font color="#FFFFFF">
<table width="500" height="1200" cellpadding="0" cellspacing="0" border="1px" align="center">
<tr>
<th colspan="2" rowspan="2"><font size="+5">注册表单作业</font></th> </tr>
<tr> </tr>
<tr align="center">
<td width="80">邮箱地址</td>
<td>
<input type="text" required="required" style=" width:200px; height:30px" placeholder="请输入:" />
</td>
</tr>
<tr height="20px">
<td colspan="2"><font color="#666666" size="-3">&nbsp;&nbsp;&nbsp;&nbsp;需要通过邮箱激活账户哦!</font></td> </tr>
<tr align="center">
<td>用户名</td>
<td><input type="text" required="required" style=" width:200px; height:30px" placeholder="请输入:" /></td>
</tr>
<tr height="20px">
<td colspan="2"><font color="#666666" size="-3">&nbsp;&nbsp;&nbsp;&nbsp;用于登入,最少8个字符哦!</font></td> </tr>
<tr align="center">
<td>昵称</td>
<td><input type="text" required="required" style=" width:200px; height:30px" placeholder="请输入:" /></td>
</tr>
<tr height="20">
<td colspan="2"><font color="#666666" size="-3">&nbsp;&nbsp;&nbsp;&nbsp;不可输入非法字符哦!</font></td> </tr>
<tr align="center">
<td>密码</td>
<td><input type="password" required="required" style=" width:200px; height:30px" placeholder="请输入:" /></td>
</tr>
<tr align="center">
<td>确认密码</td>
<td><input type="password" required="required" style=" width:200px; height:30px" placeholder="请输入:" /></td>
</tr>
<tr height="20">
<td colspan="2"><font color="#666666" size="-3">&nbsp;&nbsp;&nbsp;&nbsp;最少八位,必须包含数字字母哦!</font></td> </tr>
<tr height="50" align="center">
<td>性别</td>
<td>
<input type="radio" name="123" id="a1" /><label for="a1">帅哥</label>
<input type="radio" name="123" id="a2" /><label for="a2">美女</label> </td>
</tr>
<tr align="center" height="90" >
<td>爱好</td>
<td><input type="checkbox" id="a3" /><label for="a3">睡觉</label>
<input type="checkbox" id="a4" /><label for="a4">吃饭</label>
<input type="checkbox" id="a5" /><label for="a5">玩</label></td>
</tr>
<tr align="center">
<td>输入验证码</td>
<td><input type="text" required="required" style=" left:20px; top:0px; width:150px; height:50px" placeholder="请输入:" /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="QQ截图20161222103415.png""; width="96" height="22" style=" top:20px;height:"70px /></td>
</tr>
<tr align="center">
<td><input type="submit" value="提交" /></td>
<td><input type="reset" value="重置" /></td>
</tr> </table> </font>
</form>
</body>
</html>

效果图:

from表单iframe原网页嵌入的更多相关文章

  1. 使用django表单,使网页添加上传文件,并分析文件。

    开发环境是: apache + python + django+ eclipse(开发环境) 欲达到目的: 在网页上,添加上传文件控件.然后读取csv文件,并分析csv文件. 操作步骤: django ...

  2. 表单/iframe与video标签

    <form action="所有表单值提交的地址" method="传值的方式默认是GET方式,还有另一种POST方式"> 表单元素</for ...

  3. ISO端form表单获取焦点时网页自动放大问题

    iOS端网页form表单输入信息时,网页自动放大,这是因为meta标签 刚开始的时候meta标签是 <meta name="viewport" content="w ...

  4. 『心善渊』Selenium3.0基础 — 16、Selenium对iframe表单的操作

    目录 1.什么是iframe表单 2.iframe表单操作流程 3.iframe表单操作常用方法 (1)进入表单 (2)多表单切换 4.表单操作示例 1.什么是iframe表单 实际上就是HTML页面 ...

  5. 【原】如何改变表单元素的外观(for Webkit and IE10)

    表单元素在网页设计中使用的非常频繁,如文本输入框.单选框.复选框.选择列表.上传文件,它们在浏览器中的展现有自带的外观,为了在视觉上取得更好的产品体验,保持客户端的统一,通常产品经理会提出需要改变它的 ...

  6. html_02之表单、其它

    1.表单属性action:处理表单数据服务器端处理程序地址,默认提交本页: 2.表单属性method:①get:明文,数据显示地址栏,长度<2KB,向服务器请求数据时使用:②post:密文,提交 ...

  7. XHTML表单

    1.HTML表单标记提供一套元素和属性,用来创建表单,收集网页参观者信息. 2.创建表单结构标记为<form>和</form>. 3.在<form>标记中,我们必须 ...

  8. HTML5表单元素的学习

    本文内容              认识表单              基本元素的使用              表单高级元素的使用              现学现卖--创建用户反馈表单 ★  认识 ...

  9. activiti自定义流程之自定义表单(二):创建表单

    注:环境配置:activiti自定义流程之自定义表单(一):环境配置 在上一节自定义表单环境搭建好以后,我就正式开始尝试自己创建表单,在后台的处理就比较常规,主要是针对ueditor插件的功能在前端进 ...

随机推荐

  1. Fiddler 手机端证书安装No root certificate was found

    测试过程中发现在浏览器中访问代理服务器及端口,不通,提示要安装证书. 点击证书安装时,提示错误: No root certificate was found,Have you enabled HTTP ...

  2. php安装libiconv-1.14.tar.gz遇到的问题

    遇到的Error code In file included from progname.c:26:0: ./stdio.h:1010:1: error: ‘gets‘ undeclared here ...

  3. 响应式web设计之CSS3 Media Queries

    开始研究响应式web设计,CSS3 Media Queries是入门. Media Queries,其作用就是允许添加表达式用以确定媒体的环境情况,以此来应用不同的样式表.换句话说,其允许我们在不改变 ...

  4. [Python] Pitfalls: Be Careful with os.chdir

    One thing you need to keep in mind is that when using os.chdir to change the working directory of cu ...

  5. PureCode--iOS--自定义UITableViewCell(含疑问)

    纯代码编写的简单自定义UITableViewCell: 1.像处理普通视图一样处理Cell: clsTableViewCell.h: #import <UIKit/UIKit.h> @in ...

  6. struts2 validation.xml 注意点

    1.首先应该注意validation.xml的名字,一定要以Action的类名加“-validation.xml”作为文件名.入LoginAction-validation.xml. 2.LoginA ...

  7. java覆盖和隐藏

    隐藏指的是子类把父类的属性或者方法隐藏了,即将子类强制转换成父类后,调用的还是父类的属性和方法,而覆盖则指的是父类引用指向了子类对象,调用的时候会调用子类的具体方法. (1) 变量只能被隐藏(包括静态 ...

  8. DFS security warning and use group policy to set up internet security zones

    Opening a file from a DFS domain share shows a security warning while openning from the server share ...

  9. 为什么page对象不适合用ThreadLocal

    今天测试了下,在action中决定是否设置page,在dao层中取出分页,确实没有问题.但是,有一种情况不行,在service中查询了两次数据库,都共享这个page对象了?结果就乱了. 谁有更好解决方 ...

  10. jq判断 复选框是否被选中 亲测可用

    var shortName = $('#shortName').is(':checked')?1:0;