HTML "functions"?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I am wondering if it's possible to duplicate or approximate the way that
Wikipedia uses the "template" namespace using standard HTML.

For example, can I write a <table> with abstract variables into an external
file, then "call" it as needed in my HTML document, passing in the specific
data values as part of the call?

Re: HTML "functions"?

Dan wrote:

Quoted text here. Click to load it

Not with plain old HTML. There are various processes you can use to generate
HTML with standard sections. I'm fond of template-toolkit.

David Dorward       < <
                     Home is where the ~/.bashrc is

Site Timeline