Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



How to include Header & footer within HTML?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 09-12-2009
Member
 
Join Date: Nov 2009
Posts: 85
How to include Header & footer within HTML?
  

Hi,

I am doing web designing course. The course is in the middle stage of the Html. I can develop simple html document. I have query regarding the header and footer.
What is the procedure to include Header & footer within HTML document?. Is there any special function available in the Html to include the Header and footer?
Please help me, I will appreciate your help greatly.

Reply With Quote
  #2  
Old 09-12-2009
Member
 
Join Date: May 2008
Posts: 2,286
Re: How to include Header & footer within HTML?

Hi friend,

Please review following procedures carefully:

*. The procedure of including header and footer in the Html document include some kind of server-side programming. You can use different Html editor to include header and footer such as Dreamweaver, UltraEdit. But you may get some error while running the program in these.

*. There is also an another techniques to include header & footer. To achieve this you will need to include footer in one html file and header in another html document. And then use these html file in the main html file in which you want include Header & Footer.
Reply With Quote
  #3  
Old 09-12-2009
Member
 
Join Date: Oct 2005
Posts: 2,387
Re: How to include Header & footer within HTML?

Hi,

Try to implement the following code technique to include the header as well as the footer in your html program. This is not the complete program, it will only give you basic idea to implement header & footer:

Quote:
<title>header & footer</title>
<style type="TEXT/CSS">

<body margin:0; padding: footer:<length> 1 header:<length> 1 >
}

divDemo#Footer
{

bottom:0;
position:absolute;

left:1;
width:80%;
height:footer-<length>;

}

divDemo#Header
{

top:0;
position:absolute;
left:1;
width:80%;
height:header-<length>;
}
Reply With Quote
  #4  
Old 09-12-2009
Member
 
Join Date: May 2008
Posts: 2,377
Re: How to include Header & footer within HTML?

Hi,

It's not easy to include header & footer in the html document. You should try to chane the name of html file which is with "*.html" to file which has "*.php" extension.
For example , suppose you have the html file named as "Demo.html", then you will need to change it into "Demo.php". Even after the changing extension your file will work finely.

Example:
Quote:
<?PHP INCLUDE("nameOF file.html/htm" ;?>
__________________
The FIFA Manager 2009 PC Game
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to include Header & footer within HTML?"
Thread Thread Starter Forum Replies Last Post
How to create letterhead with header and footer in Openoffice Kanknaadi Windows Software 5 18-02-2012 11:07 AM
Header and Footer in OpenOffice Miles Runner Windows Software 5 19-02-2010 02:24 AM
Header footer start on page 2 Jayden Windows Software 2 29-07-2009 10:46 PM
How do i edit header and footer of a PDF? Hilda Thompson Windows Software 4 04-07-2009 02:27 PM
How to add Header and Footer in Excel 2007 michaels Windows Software 3 05-05-2009 06:31 PM


All times are GMT +5.5. The time now is 11:59 PM.