The CSS3 style for setting word spacing is "word-spacing: word spacing value;"; the "word-spacing" attribute is used to increase or decrease the space between words, so you can set the space between words. The spacing can also be set to negative values.
The operating environment of this tutorial: Windows 10 system, CSS3&&HTML5 version, Dell G3 computer.
When making English web pages, sometimes the words in our English introduction, if we want to have spacing between words, how to achieve it? ? We need to use the word-spacing attribute to set it.
We create a new HTML web page file and name it test.html. Next, we use the test.html file to explain how to set word intervals in CSS. Use the div tag to create a line of text "How to set word interval in CSS" and translate the text content into English "How to set word interval in CSS". Add a style to the div tag and set the class attribute of the div tag to mybkkd.
css video tutorial)
The above is the detailed content of What is the CSS3 style to set word spacing?. For more information, please follow other related articles on the PHP Chinese website!