![]()
I am fresher, and I want to implement a program in
which I can place content of one file may be txt, or HTML or XMl inside
div tag of HTML file.....
can you please show me the way?
or small working example...will do........
![]()
I am fresher, and I want to implement a program in
which I can place content of one file may be txt, or HTML or XMl inside
div tag of HTML file.....
can you please show me the way?
or small working example...will do........
1.Using Server Side Includes
syntax
<!--#include file="include.inc" -->
2. Use a server side tool like php read the file put the content whereever you want.
3. Use frames, perhaps.
All depends on the specific purpose/options you have.
Note: PHP will certainly give you the most options of any of this.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Frames hmmm they have problems too especially distorted display on certain browsers.
Yeah, but they're a good option when others are too complex, in some situations anyway.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Ajax.
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
ajax ONLY if needed.
We need more info....![]()
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks