Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <body> <p>Click the "Try it" button to make the space between words in the DIV element 20 pixels:</p> <button onclick="myFunction()">Try it</button> <div id="myDIV"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. </div> <script> function myFunction() { document.getElementById("myDIV").style.wordSpacing = "20px"; } </script> </body> <!-- Mirrored from www.w3schools.com/cssref/tryit.asp?filename=trycss_js_word-spacing by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:53:54 GMT --> </html>
Result:
Try it Yourself - © w3schools.com