<!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>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<meta name="author" content="" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<link rel="stylesheet" type="text/css" href="" />
<style type="text/css"></style>
<script type="text/javascript"></script>
</head>
<body bgcolor="yellow">
<iframe src="http://www.baidu.com" name="test" width="500" height="500" frameborder="1" align="left" scrolling="yes"></iframe> <!--为内嵌窗口iframe指定name值-->
<a href="http://www.qq.com" target="test">腾讯</a> <!--通过target绑定iframe的name值,在iframe中打开链接-->
</body>
</html>
HTML 内嵌网页框架(iframe)
最新推荐文章于 2024-08-18 21:47:24 发布