is there an equivalent to the consoles special char '\t' in html ?
i'am using that "pattern" for convert plain text to simple HTML output:
someString.toString().replaceAll("\r\n", "\n").replaceAll("\n", "\n<BR>\n").replaceAll("\t", " ")
where "someString" is the source string we need to convert...
first... we convert all "\r\n" to "\n" (for Win and *nix format supporting), then converting "\n" and "\t" to HTML-like output
if what you need is different levels of tabulation use list, and set the style: "list-style-type:none" www.w3schools.com/html/html_lists.asp
You can use this code   to add a space in the html. For tab space use it 5 times or more.Check here: https://www.w3schools.com/charsets/tryit.asp?deci=8287&ent=ThickSpace