html基础2
来源:互联网 发布:淘宝里的旺旺号是什么 编辑:程序博客网 时间:2024/04/30 08:59
以前对html有一点了解了,今天继续来了解html标记以及他们的应用:
首先是对iframe标签的理解
有以下代码:
<!DOCTYPE html> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <html> <head> <title></title> </head> <body> <ul> <li><a href="a.html"target="main">培养目标</a></li> <li><a href="c.html"target="main">培养内容</a></li> </ul> <iframe width="300px" height="300px" scrolling="auto" frameborder="1" name="main"></iframe> </body> </html>注scrolling="auto" /"yes"都为框架设置滚动条,而为"no"时无滚动条两个链接html的target都是main在iframe中name的值为main
<html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> <h1>软件工程师实训课程内容简介</h1> <ol> <li>计算机基础</li> <li>JAVA,JSP</li> </ol> <hr/> <p> 版权所有©;2006-2010国家软件产业基地人才实训基地.保留所有权利 </p> </body> </html>ol定义无序列表 <!DOCTYPE html> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <html> <head> <title></title> </head> <body> <form> <fieldset> <p><legend>请输入个人资料</legend> <p>姓名:<inputtype="text"id="name"size="30"maxlength="25"></p><br/> 性别:<input type="radio"id="male"name="sex">男 <input type="radio"id="female"name="sex">女 <p>学历:<selectname="xueli"id="xue"> <option name="grauate"id="senior"checked="checked">高中及以上</option> <option name="grauate"id="junior"> 初中</option> <option name="grauate"id="college"> 大学</option></select></p> <p>爱好: <input type="checkbox"id="read"name="hobby">读书 <input type="checkbox"id="travel"name="hobby">旅游 <input type="checkbox"id="food"name="hobby">美食 <input type="checkbox"id="music"name="hobby">音乐 <input type="checkbox"id="sport"name="hobby">运动 </p> </p> <p>特长:<inputtype="text"name="techang"id="tc"size="35"maxlength="30"></p><br/> <input type="submit"value="提交"> <input type="reset"value="重置"> </p> </fieldset> </form> </body> </html>一个简单的信息表
利用fieldset当作表单的一个容器,它在被包含的元素周围显示一个细边框的盒子。legend元素放在fieldset内部
</fieldset>
0 0
- HTML基础 超链接基础2
- HTML基础 CSS基础2
- html复习2:基础
- html---基础(2)
- html基础知识点(2)
- html基础-2
- html基础加强2
- html基础2
- html基础2
- 2、HTML基础
- HTML基础2
- HTML 基础语法2
- HTML基础2
- html基础加强2
- HTML基础2
- html标签基础2
- HTML基础入门2
- html基础整理(2)
- android适配浅析
- 防火墙问题
- 通过“分布式系统的8大谬误”反思APP的设计 第六篇 谬误6:只有一个管理者
- 【搜索】 HDU 5323 Solve this interesting problem
- java学习笔记(六) collections--stack
- html基础2
- 55. Jump Game
- Volley学习笔记(二):使用Volley加载网络图片
- 七月日记
- Android核心基础-7.Android 网络通信-1.获取文本数据
- 在windows系统下修改hosts文件,使其可以修改
- poj 3660 Floyd应用(确定牛的位置)
- 七月二十八日 Linux操作系统c语言学习笔记
- MySQL_ROW