10 lines
614 B
Markdown
10 lines
614 B
Markdown
---
|
|
title: Use Tab Space Instead of Multiple Non Breaking Spaces Nbsp
|
|
---
|
|
## Use Tab Space Instead of Multiple Non Breaking Spaces Nbsp
|
|
|
|
In HTML the most common way to add multiple spaces is by adding ` ` for each space. To add a tab space put your text in `<pre>` tags, for example `<pre>My Text Here</pre>` and every tab will be treated as eight spaces. Another way to add multiple spaces in HTML would be to use CSS for example `<p style="padding-right: 5px;">My Text Here</p>`.
|
|
|
|
#### More Information:
|
|
* [MDN - The Preformatted Text element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre)
|