Fandom

HTML & CSS Wiki

Word-spacing

649pages on
this wiki
Add New Page
Comments0 Share

The word-spacing property is used in CSS and certain HTML elements. It specifies the amount of spacing between words.


Values

  • normal - The normal inter-word space, as defined by the current font.
  • <length> - A unit of measurement, like 12pt, 12em, 12px, etc.


HTML example:

<span style="word-spacing:12pt;">Check out the spaced words.</span>

That produces: Check out the spaced words.


CSS h1 example:

h1 {
    word-spacing:12px;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.