How can I make common header and footer for my website ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can I make common header and footer for my website ?

I want to make common header and footer without using php. Is this possible. ? If yes so how...?

15th Jul 2017, 6:45 AM
Adityaa
2 Answers
+ 10
yes it's possible, you can use div, list, a tags to name a few tools you can use and then use css to align and make it a bit presentable. hope it helps.😊 👍
15th Jul 2017, 6:56 AM
CC Calvello
CC Calvello - avatar
+ 3
If you're meaning of shared (same content) header and footer between different pages, you can but you need to duplicate it (and update each on change) over your static pages: habdling shared part of an html layout is only possible by handling dynamic build of pages ^^
15th Jul 2017, 7:00 AM
visph
visph - avatar