Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

HTML How to Make a Website Adding Pages to a Website Build the Contact Page

Gunhoo Yoon
Gunhoo Yoon
5,027 Points

What techniques can be used to preserve base html and only change content when needed? i.e) templating sort of technique

I find tedious to copy common component of page and paste it whenever I need them. What is the most practical and widely accepted method to do this?

2 Answers

Anain Roibal
Anain Roibal
4,532 Points

That is what CMS are for (Wordpress, Drupal, Joombla). You still need to learn html and CSS to customize the templates, plus get familiar with the system you are going to use. Wordpress being the most popular.

Luis M Ballestas
Luis M Ballestas
2,314 Points

Hi there,

This is accomplished by using Javascript and/or backend languages such as ruby or php. For just HTML, I think that is the only way to go.

Gunhoo Yoon
Gunhoo Yoon
5,027 Points

I guess I'll be figuring out through the tracks