我想在我的 mvc View 中显示另一个网页。
谁能帮我解决这个问题?我尝试使用 iframe 但我无法成功。
最佳答案
您可以使用 <iframe>
或 <embed>
或 <object>
HTML5 中的标记以在您的应用程序中显示第三个其他网站的 URL。
示例:
<iframe class="embed-responsive-item" src="http://modernpathshala.com" width="600" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe>
关于razor - 如何在 mvc 5 中显示外部网页?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43385874/