How do I not repeat the HTML and CSS code of a website structure? For example, I made the structure of a web page and I want this structure to be applied to the other 5 pages that I will create for this site. Follow the print of the page:
For this I created an HTML file and a CSS. To replicate this structure to the other pages I have created HTML and CSS files for each of the other 5 pages I have copied and pasted the codes of that structure into them. But this is very repetitive, I think there is a more efficient way of doing this. If I change something in this sidebar, I have to change it in the other 5 files, eg
Is there a method to avoid this repetition?