HTML11:iframe内联框架
iframe内联框架
代码show
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>9.内联框架-iframe</title>
</head>
<body>
<!-- iframe 内联框架
src:地址
width:宽度
height:高度
-->
<iframe src="https://www.baidu.com" frameborder="0" width="800px" height="500px"></iframe>
<hr/>
<iframe src="" name="hello" frameborder="0" width="800px" height="500px"></iframe>
<hr/>
<a href="https://blog.csdn.net/" target="hello">点击跳转</a>
<hr/>
<a href="https://www.bilibili.com/video/BV1x4411V75C?p=11&share_source=copy_web">B站视频</a>
<hr/>
<iframe src="//player.bilibili.com/player.html?aid=55631961&bvid=BV1x4411V75C&cid=97257967&page=11" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
</body>
</html>
彩蛋
1.B站复制内联框架