简体   繁体   中英

How to display a webpage in a html page from an url?

I want to display 2 webpages in single aspx webpage is it possible ?

for example

user -- open link for www.mywebsite.com

In my homepage i want to display both www.google.com and www.bing.com.

In the background i call two different url's and they should display on my same aspx page.

To integrate websites in other websites use an iframe like this:

 <iframe src="http://www.bing.com"></iframe>

More information: w3schools

Google This will not work for google because of their therms and services:

1.3 Your Obligations. You shall receive a Query from the End User and shall forward that Query to Google. You maynot in any way frame, cache or modify the Results produced by Google, except as otherwise agreed to between You and Google.

So if you want to integrate Google search to your website, you can read more about the API here Google Api

Bing To embend searchresults from bing take a look at the Bing api . 5000 queries per day are free.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM