make a space between words javascript code example
Example: how to add space between words in javascript
document.getElementById("text").style.wordSpacing = "25px";//change '25px' to your custom space
document.getElementById("text").style.wordSpacing = "25px";//change '25px' to your custom space