Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calling other documents to load within a HTML page

Status
Not open for further replies.

iao

Programmer
Feb 23, 2001
111
US
Hi everyone.

I haven't used HTML much over the last two years, and now I'm stuck.

I am trying to "call" another HTML page to load within my main HTML page. For example, let's say that I have a page that has a bunch of pictures on it. I want this set of pictures to load on each webpage.

However, I don't want to have to type in the code for each of these separate pictures. I would like to do it only once, and then whenever I need to call all the pictures again, I can just "include" that page by typing in a tag (instead of retyping in the tag for each picture over and over again).

I've used ColdFusion in the past, and there is a tag called CFInclude to do this. Does anyone know the best way to do this in HTML?

Sorry if this is too confusing. I hope this makes sense. Thanks in advance for any replies :)
 
Look into the <iframe> tag. Something like <iframe src=&quot;otherpage.html&quot; borders=&quot;no&quot; scroll=No> DeZiner
Never be afraid to try something new.
Remember that amateurs built the Ark.
Professionals built the Titanic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top