Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset=utf-8>
<title>CSS Text reference file</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"/>
<style>
p { font-family: monospace; white-space: pre; tab-size: 8ch;
width: 40ch; margin: 1em 8ch; border: 1px solid silver; }
</style>
The tab-stop positions should be the same in all three blocks below;
only the ‘a’ characters affected by text-indent should be unaligned.
<p>a	b	c<br>d	e	f</p>
<p> a	b	c<br>d	e	f</p>
<p><span style="margin-left:-3ch;">a </span>a'	b	c<br>d	e	f</p>