使用<iframe>实现页面跳转,URL地址不变
<p>要在页面上使用<iframe>元素实现页面跳转,可以将以下代码添加到需要跳转的位置:\n\n<code>html\n<iframe src="up.html" frameborder="0" width="100%" height="100%"></iframe>\n</code>\n\n这样,当用户点击相应的链接时,页面将在iframe中加载up.html页面,并且URL地址将保持不变。</p>
原文地址: https://www.cveoy.top/t/topic/p5oU 著作权归作者所有。请勿转载和采集!