html - Efficient way to create pages from multiple similar type links -


i have page there 30 links , links have similar page except few contents changed(there pictuures). there efficient way without repeating codes , repeated nestings of codes. thank you.

using plain html won't able this.

the straightforward way it, think, using server-side scripting implement rendering template. have default "main" template 30 pages have in common , in each of pages use main template , load custom content.

so if want modify in main template you'd have modify main.html (or whatever called it) page , not each of 30 pages.

see this.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo