Question about structure of HTML page | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Question about structure of HTML page

hy everyone let i have a website of 300 pages created in php or html and I want to change a text in footer or want to add something in body. do I i have to edit all 300 pages? is there any alternative? let me explain my question ! can we fetch footer, body, head section from single file so whenever we want to change something, we can change it through single file !

18th Mar 2018, 1:42 AM
Saadat Ali
Saadat Ali - avatar
3 Answers
+ 1
I think php would work better.
18th Mar 2018, 2:39 AM
Ariela
Ariela - avatar
+ 1
for permanent changes you could use 'Gulp'. That's a tool which makes repetitively tasks like that.
18th Mar 2018, 9:09 AM
wenz
wenz - avatar
0
Maybe with a Javascript file
18th Mar 2018, 2:35 AM
Frenchtoast
Frenchtoast - avatar