The best CSS word-spacing attribute Tutorial In 2024, In this tutorial you can learn Examples,Attribute definitions and instructions,Browser Support,Property Value,related articles,
Space between words specified segment, should be 30 pixels:
word-spacing property to increase or decrease the gaps between words.
Note: negative values are allowed.
Defaults: | normal |
---|---|
inherit: | yes |
version: | CSS1 |
JavaScript syntax: | object .style.wordSpacing = "10px" |
Figures in the table represent the first browser to support the version number of the property.
属性 | |||||
---|---|---|---|---|---|
word-spacing | 1.0 | 6.0 | 1.0 | 1.0 | 3.5 |
value | description |
---|---|
normal | default. Defines a standard space between words. |
length | Defines a fixed space between words. |
inherit | Predetermined value of word-spacing should inherit properties from the parent element. |
CSS tutorial: CSS the Text