Assume you're teaching a non-programmer HTML/CSS basics. What's the *simplest* approach to avoid repeating yourself in related pages?
4
@stilkov You mean what will work once HTML Imports is implemented (progressing in #Blink src.chromium.org/viewvc/blin…): dvcs.w3.org/hg/webcomponents…
1
@tomayac Well, I'd prefer something that works with browsers commonly available today :-)
1
@stilkov Then I fear iframe is your technology of choice (if you want to keep it simple and entry-level friendly).
1
@tomayac My needs are way more basic. I'm talking about having the same headers and footers in every page, nothing dynamic at all
1
@stilkov If it has to be pure HTML (sans server), then exactly this is an ideal candidate for iframes or even frames (as ugly as it sounds).
1
@tomayac True. Not the kind of HTML best practice I want to be known as teaching, though :-)
Jul 17, 2013 · 3:56 PM UTC
1

