I want to add header and footer html files in my all other web pages using html. I don't want to convert my html file into php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want to add header and footer html files in my all other web pages using html. I don't want to convert my html file into php

How to add header and footer html file into other html pages by not converting my pages into php or other extension. How to do???

1st Feb 2021, 10:49 AM
Chetna Gupta
Chetna Gupta - avatar
4 Answers
+ 1
There are a tags called <header> and <footer> I don't know if they are still in use but that will not convert your html to php you can insert php into HTML file or the inverse html into php file.
1st Feb 2021, 11:13 AM
HBhZ_C
HBhZ_C - avatar
+ 1
use the header and footer
1st Feb 2021, 2:00 PM
A.P.I
A.P.I - avatar
+ 1
use the header and footer
1st Feb 2021, 2:00 PM
A.P.I
A.P.I - avatar
0
To insert php code in html file, you need to convert your into php file....i don't want that and i also don't want to write header , footer code again and again in my other html pages.
1st Feb 2021, 11:17 AM
Chetna Gupta
Chetna Gupta - avatar