Bob Grossman wrote:Is there a Javascript method that would tell the browser to output the leading tab characters?
That's not how HTML works. Whitespace between elements is collapsed, and tabs are not meaningful.
Either use space characters within
<pre> if that's appropriate, or use CSS to add left margins as desired.