+ 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
2 Antworten
+ 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.
+ 2
Or you can use js and tweak display property of sections that you have.