Selectors

The word-spacing property is used to add extra space between adjacent words. The values of word-spacing are.
ValuesDescription
normal
<length>
inheritinherited from the parent
example
word-spacing : -0.2ex
word-spacing : 5cm
snippet
<html>
<head>
    <style>
        p {word-spacing:15px;}
        h2 {word-spacing:0.6cm}
        a {word-spacing:2mm}
        span {word-spacing:3pt}
        div {word-spacing:+0.2em; color: red}
    </style>
</head>
<body>
    <a>This is a anchor link</a>
    <p>This is a paragraph text</p>
    <h2>This is a text inside h2</h2>
    <span>This is a paragraph text</span>
    <div>This is a text inside h2</div>
</body>
</html>
Output
This is a anchor link

This is a paragraph text

This is a text inside h2

This is a paragraph text
This is a text inside h2
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 https://twitter.com/RookieNerdTutor https://plus.google.com/b/117136517396468545840 #
Contents +