Usage of word-spacing property in CSS

JavascriptWeb DevelopmentFront End Scripts

The word-spacing property is used to add or subtract space between the words of a sentence. Possible values are normal or a number specifying space. 

Example

You can try to run the following code to implement word-spacing property: 

<html>
   <head>
   </head>
   <body>
      <p style = "word-spacing:7px;">
         This text is having space between words.
      </p>
   </body>
</html>
raja
Published on 13-Apr-2018 11:24:20
Advertisements