KioskeaKioskeaCommentCaMarcheSign up, it's free !
Saturday May 17, 2008 - 4:45:55 am BST

Header and footer in HTML

Search : in
Header and footer in HTML
par JudySis
 Threaded discussions
Statut : Not resolved
Monday January 28, 2008 07:47:54 AM
Hello,
Is it possible to include a header and footer file using HTML? I have my file (saved as a .html) and need to be able to include the HTML for the header and footer. Anyone know how I can do this?
Thanks a lot.
Reply to JudySis  Report this message to moderators Go to last message

1


  • This message seems useful, vote!
  • Report this message to moderators
By Pato, on Thursday February 7, 2008 04:41:45 PM Threaded discussions 
You can use SSI (Server Side Includes) http://httpd.apache.org/docs/1.3/howto/ssi.html.html ... the best way would be to use a server side langage like PHP (simple and easy to learn)

<?php include "http://www.mydomain/header.php" ?>

<stong>MY HTML CODE IN THE MAIN CELL</strong>

<?php include "http://www.mydomain/footer.php" ?>
Reply to Pato
Currently no message on this subject
Reply
Message title :
Your nick:
Your E-mail :
Message: 
  •  
  •  
Options: Get the answers by mail.
 

Help