locked
how can i add other website in any website RRS feed

  • Question

  • User2001694453 posted
    i have seen some websites Which have added other websites in there website and it feels like I'm browsing a single website for example you can open this one https://bit.ly/2PavfHw and traffic exchange websites like 10hits also use it
    my question is how can i do it on my website let's say I'm writing a article about Google and i want to add google.com like that is there any js code for it?
    Wednesday, August 15, 2018 12:21 AM

Answers

All replies

  • User-1320437544 posted

    Hello if you look in the source code of the website that you showed you will see the answer, and it is called iframe.

    <iframe src="https://dc4-g22.digialm.com/EForms/configuredHtml/1907/57281/login.html"></iframe>
    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, August 15, 2018 4:39 AM
  • User2001694453 posted
    thanks for your reply i tried to insert this code in my website but it's not working it's appearing in a very small window and if i change the url it doesn't work
    Wednesday, August 15, 2018 4:03 PM
  • User-1320437544 posted
    You can set width and height if its too small. As well make sure the URL is correct and hot linking protection is enabled in the webserver from which you want to fetch the content.

    Here is tutorial of iframes usage: https://www.w3schools.com/html/html_iframe.asp
    Wednesday, August 15, 2018 4:19 PM