+ 4

How to create a base Html and CSS code for a website so that all subsequent webpages have those content?

I want to know how i can make a base html and CSS code for a trial website project, for instance the header and footer, and link it up so that i do not have to repeat that same code for subsequent webpages created

26th Dec 2018, 2:44 PM
Nyakotey🇬🇭🎹
Nyakotey🇬🇭🎹 - avatar
2 ответов
+ 2
It would have been easy if you use react. But for pure html you will have to copy and paste header and footer section and keep css common to all.
26th Dec 2018, 3:45 PM
Prathamesh Sawant
Prathamesh Sawant - avatar
+ 2
Or you can use js and tweak display property of sections that you have.
26th Dec 2018, 3:47 PM
Prathamesh Sawant
Prathamesh Sawant - avatar