HTML页面跳转到另一个界面了但是URL不变比说 http127001 我请求 http127001下面的uphtml网页上的url还是 http127001使用iframe实现给我具体的代码div class=Polaris-Stack Polaris-Stack--distributionEqualSpacing Polaris-Stack--alignmentCenter style=m
<p>要在页面上使用<iframe>元素实现页面跳转,可以将以下代码添加到需要跳转的位置:</p>
<pre><code class="language-html"><iframe src="up.html" frameborder="0" width="100%" height="100%"></iframe>
</code></pre>
<p>这样,当用户点击相应的链接时,页面将在iframe中加载up.html页面,并且URL地址将保持不变。</p>
原文地址: https://www.cveoy.top/t/topic/inri 著作权归作者所有。请勿转载和采集!