+ 1

How to add pages to my HTML code?

When I googled, all I get is to link another HTML file to the main one. May be its fine but it's difficult to update the all files when I need to only change the style of the header, title etc.

31st Jul 2018, 10:30 AM
Çůřîöş ßąšäñț 🇮🇳
Çůřîöş ßąšäñț 🇮🇳 - avatar
4 Antworten
+ 3
For templating, you could use Jade to include other jade files for common header or footer sections. Use Jade maxins to build common blocks for components or sections reuse.
31st Jul 2018, 11:41 AM
Calviղ
Calviղ - avatar
+ 2
You can use JavaScript XML requests, JavaScript to create elements, the PHP include command, or perhaps node.js, to build and load a website's constant elements.
31st Jul 2018, 11:34 AM
James
James - avatar
+ 2
To change a style of header or title easily, you could use external style sheet.
31st Jul 2018, 11:34 AM
Calviղ
Calviղ - avatar