1.板块我的照片丰富
1.使用iframe标签添加框架
<div id="p">
<iframe frameborder="0" align="top" src="picture1.html" width="560px" height="550px"></iframe>
</div>
2.在对应css中使用relative定位
#p{clear: both;
position: relative;
left: 57px;
}
3.新建子html文件picture1.html,向其中添加图片链接
<body>
<img src="img/1.webp" alt="风景1" title="风景1"/ >
<img src="img/2.webp" alt="风景2" title="风景2"/ >
<img src="img/3.webp" alt="风景3" title="风景3"/ >
<img src="img/4.webp" alt="风景4" title="风景4"/ >
</body>