Word Spacing
Property: Word Spacing
Usage:
word-spacing: 1cm;
word-spacing: 20pt;
word-spacing: 20px;
word-spacing: none;
Using this attribute we can define or set the space between each words.
It takes the following values.
1) cm : You can set the value in centimeters as 1cm etc...
2) px : You can set the value in pixels as 1px or 10px etc...
3) pt : you can set the value in points as 1pt or 2pt etc
4) norm : on setting norm, normal / default word spacing will be taken.
Example 1:
word-spacing: 1cm;
word-spacing: 20pt;
word-spacing: 20px;
word-spacing: none;
Using this attribute we can define or set the space between each words.
It takes the following values.
1) cm : You can set the value in centimeters as 1cm etc...
2) px : You can set the value in pixels as 1px or 10px etc...
3) pt : you can set the value in points as 1pt or 2pt etc
4) norm : on setting norm, normal / default word spacing will be taken.
Example 1:
<font style="word-spacing: 1cm;"> Test for word spacing </font>
Result:
Test for word spacing
Example 2:
<div style="word-spacing: 20px;"> Test for word spacing </div>
Result:
Test for word spacing
Example 3:
<
h5 style="word-spacing: 20pt;"> Test for word spacing </h5> Result: Test for word spacing
Example 4:
<font style="word-spacing: none;"> Test for word spacing </font>
Result:
Test for word spacing