html悬浮框架的设置使用示例(iframe加载html
2016-06-14来源:易贤网

代码如下:

<!doctype html public -//w3c//dtd xhtml 1.0 transitional//en <a href=http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd>http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd</a>>

<html xmlns=<a href=http://www.w3.org/1999/xhtml>http://www.w3.org/1999/xhtml</a>>

<head>

<meta http-equiv=content-type content=text/html; charset=utf-8 />

<title>html中框架_悬浮框架的设置</title>

</head>

<!--

悬浮框架的设置:不需要将body标签去掉

格式:<iframe>…</iframe>

属性名称 属性值 说明

height 像素/% 绝对/相对 高度

width 像素/% 绝对/相对 宽度

其余属性除了 noresize 外,其他都和 frameset 一样

-->

<body>

<table align=left border=1 width=600 height=500 cellspacing=0>

<tr height=100>

<td colspan=2>标题</td>

</tr>

<tr>

<td width=100 valign=top align=center>

<a href=html标记的语法格式.html target=in>主页</a>

<a href=html表单框架.html target=in>第一页</a>

<a href=html表单详解.html target=in>第二页</a>

<a href=html的超链接格式和属性.html target=in>第三页</a>

<a href=html最常用的控制标记.html target=in>第四页</a>

</td>

<td>

<iframe width=100% src=html标记的语法格式.html name=in frameborder=0>

</iframe>

</td>

</tr></p> <p></table>

</body>

</html>

2026公务员·事业单位培训课程试听报名

  • 报班类型
  • 姓名
  • 手机号
  • 验证码
推荐信息