Home > Article > Web Front-end > Example of using iframe loading html settings of html floating frame
This article mainly introduces the setting and usage examples of the html floating frame (iframe loading html). Friends in need can refer to the
code as follows:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.php.cn/;/a>"> <html xmlns="<a href="http://www.w3.org/1999/xhtml">http://www.php.cn/;/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>
More html floating frame For related articles about iframe loading html settings and usage examples, please pay attention to the PHP Chinese website!