make_transforming_source infers the target element type
functions for writing simple HTML