浮动框架iframe
<div class="main">
<!-- a标签中target要和iframe标签中的name一样 -->
<a href="https://list.tmall.com/" target="myframe">淘宝</a>
<a href="https://www.baidu.com/" target="myframe">百度</a>
<br />
<!-- iframe标签中的src为默认打开页面 -->
<iframe
src="https://list.tmall.com/"
frameborder="0"
name="myframe"
width="100%"
height="500px">
</iframe>
</div>