I recommend trying to learn the basics for HTML by yourself : http://www.w3schools.com/html/default.asp Cheers !
HTML is markup language and you cannot perform such tasks only with HTML. you have to use PHP to separate files and than include or require them within any file. However if you insist on not using PHP than You can use jQuery .load function to include external html files : http://www.w3schools.com/jquery/ajax_load.asp example code will be $("document").ready(function(){ $("#header").load("header.html"); }); Code (JavaScript):
Well if your trying to seperate the footer and the header, you can create divs and style them in CSS. Heres an example: <html> <head> <!-- Load page title, meta tags, external CSS, etc. up here--> </head> <body> <div class="header"> <!-- Content in header goes here --> </div> <div class="footer"> <!-- Content in footer goes here --> </div> </body> </html> HTML: And in the CSS style sheet, style each div block as you wish. Heres an example of CSS styling. /* I'm not going to completely generate a CSS file for you, I'm just going to quickly style the header and footer div blocks */ /* Notice in the HTML, I gave class names to each div, so in order to select the respective div, I have to use a "." to modify it */ .header { position: relative; width: 100%; top: 0; } .footer { position: absolute; width: 100%; height: 50px; /* Place footer at the bottom */ bottom: 0; } Code (CSS):
You need to create divs in your page or as you will put content in your page; your page will automatically go down and at last put your footer content; your header and footer will be separated.