在另一个HTML页面中加载一个HTML页面 [英] Load a HTML page within another HTML page

查看:197
本文介绍了在另一个HTML页面中加载一个HTML页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要在按钮单击时在另一个HTML页面中显示或加载HTML页面。我需要以主HTML页面作为背景的弹出窗口。

I need to display or load a HTML page within another HTML page on a button click.I need this in a popup with the main html page as the background.


推荐答案

iframe 是您的标签可以用来调用其他html页面到您的网页中

iframe is the tag which you can use for call other html pages into your web page

<iframe src="http://www.google.co.in" name="targetframe" allowTransparency="true" scrolling="no" frameborder="0" >
    </iframe>

这篇关于在另一个HTML页面中加载一个HTML页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆