HTML "functions"?

D

Dan

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?
 
D

David Dorward

Dan said:
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?

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,431
Messages
2,571,679
Members
48,796
Latest member
Greg L.

Latest Threads

Top