I am a beginner in web development and I want to make a basic layout for all my pages.
So i created a basic page layout with these files.
- Template.html (which links to the Template.css and Template.js files)
- Template.css
- Template.js
Each Page should include the Template and add the content into a specific location (maybe a empty container inside the Template)
- Page1.html
- Page1.css
- Page1.js
But I dont know how to link the Template and the Pages.
If anyone has a simple example how to solve this, it would be nice. Thanks
It would be cool, where I have an approach where I can reuse the content of the template in the corresponding pages