ht templates for HTML ht arguments.
ht(["html", ["head", ["title", "template test"]], ["body", ["div#container", ["h1#head", "a title"], ["p#text", "%s"]]]]);
The javascript is the proof of concept, and it works. A larger part than I anticipated consists of utilities that are in the style of jQuery. Using ht server-side, I wanted jQuery manipulations pretty frequently, so perhaps the ht format works best as jQuery extension.
The jury is out.