iframe元素-框架页
通常用于在网页中嵌入另一个页面
iframe-可替换元素
- 通常为行盒
- 通常显示的内容取决于元素的属性
- css不能完全控制其中的样式
- 具有行块盒的特点
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>iframe元素</title>
<style>
/* iframe{
width: 100%;
height: 500px;
} */
</style>
</head>
<body>
<!-- <a href="https://www.csdn.net/" target="myframe">CSDN</a> -->
<!-- <iframe name="myframe" src="https://www.fancynode.com.cn/pxcook/" scrolling="no" framespace="0" frameborder="0"></iframe> -->
<iframe src="//player.bilibili.com/player.html?aid=601310096&bvid=BV1jB4y1h7xc&cid=785598422&page=1" frameborder="no" framespacing="0" allowfullscreen="true">叶舒华</iframe>
</body>
</html>