word
英[w?:d] 美[w?:rd]
n. Word; Discourse; Promise; Message
vt .Wording, wording; expressing with words
vi.Speech
Third person singular: words Plural: words Present participle: wording Past tense: worded Past participle: worded
spacing
英[?spe?s??] 美[?spes??]
n. Spacing, spacing; span; density; leaving gaps
javascript wordSpacing attribute syntax
Function:Set the word spacing in the text.
Syntax: Object.style.wordSpacing=normal|length
javascript wordSpacing attribute example
<html> <head> <script type="text/javascript"> function changeWordSpacing() { document.getElementById("p1").style.wordSpacing="10px"; } </script> </head> <body> <p id="p1">This is an example paragraph</p> <input type="button" onclick="changeWordSpacing()" value="Change space between words" /> </body> </html>
Run instance ?
Click the "Run instance" button to view the online instance