Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
How to include one HTML file in anothe HTML file..
Karn Kumar
Ranch Hand
Posts: 153
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi Guys,
Can anyone suggest how to include one HTML file in another...
Thanks in advance ..............
Good day........
Regards,
Chetan.
Lester Burnham
Rancher
Posts: 1337
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Maybe your web server supports server-side includes (SSI)? Or maybe you're using
JSP
(which have import facilities)? Or are you asking about something on the client side? Static or dynamic? Knowing more detail would help us help you.
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 13 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
There is no native facility in HTML for inclusions. As Lester pointed out, you need to use a server-side mechanism *.
* Caveat: you could sort of fake a client-side include with Ajax, but that's really not a recommended approach.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
Seriously Rick? Seriously? You might as well just read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Include a HTML file in another HTML File
Include dynamic HTML in a JSP
Basic Doubt
How to include a hit counter?
How can add a company emblem in many pages?
More...