Improve company productivity with a Business Account.Sign Up

x
?
Solved

How  to place html on another website?

Posted on 2004-04-15
10
Medium Priority
?
225 Views
Last Modified: 2010-04-09
My website is www.lkhealthsource.com and I want to place another website's html on my web site.  Please give me step by step instructions on how to do this.
0
Comment
Question by:lynkey
8 Comments
 
LVL 15

Accepted Solution

by:
VincentPuglia earned 100 total points
ID: 10838708
Hi,

1) if the site isn't yours, ask the webmaster.
2) if the site isn't in your domain, you need permissions -- else you will have problems with the code.
3) make an iframe and place the target site as the iframe's source

Vinny
0
 
LVL 12

Expert Comment

by:venkateshwarr
ID: 10838825

If the other site is yours... then simply redirect any request.....
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10839769
You could do this with Frames or IFrames
example:
<iframe src="http://www.cnn.com" width="100%" height="50%" scrolling="auto"></iframe>
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
LVL 7

Assisted Solution

by:kohashi
kohashi earned 100 total points
ID: 10841455
in php you can open that pages content via fopen() function.  That should grab the HTML, you will need to write the code yourself to connect, open and parse the proper information.  www.php.net has all the documentation you need.

-kohashi
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10842679
>>> You could do this with Frames or IFrames

Not if you are trying to script content.  The security issues has nothing to do with access.  Cross-domain scripting on the client is not permitted.

Cd&
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10845953
He was not asking for any scripting was he? ;-)
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 10846267
LOL....  Sorry T777, I thought I was in another thread when I read that...  senility does that to you. ;^)

Cd&
0
 
LVL 17

Expert Comment

by:Tacobell777
ID: 10846685
I know what that is like, I've doen it myself, no worries - happy xmas ;-))
0

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
The first step to building an amazing About page is to figure out what you want the page to say about your company. You then must grab the attention of the reader, boast a bit, tell a story and let others brag about you. With a little bit of thought…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

606 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question