方法1
<iframe src="规定在 iframe 中显示的文档的 URL" width="" height="" frameborder="1/0" name="iframe名称" scrolling="yes/no/auto">
</iframe>
方法2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Main Page</title>
</head>
<body>
<span>This is main page.</span>
<iframe frameborder="0"
noresize="noresize"
style="position: absolute; background: transparent; width: 100%; height:100%;"
src="https://www.baidu/"
frameborder="0">
</iframe>
</body>
</html>
更多推荐
如何在html嵌入html网页
发布评论