uses a string buffer to build output for writeHTML()