Add spaces betw...LOGIN

Add spaces between words

This example demonstrates:

How to increase the white space between words in a paragraph.

Example analysis:

The word-spacing attribute is used to increase or decrease the space between words.

You can set the following attribute values:

●Normal: Default value, defines the standard space between words.

● Length: Defines the fixed space between words.


Next Section
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> <style type="text/css"> p { word-spacing:30px; } </style> </head> <body> <p> This is some text. This is some text. </p> </body> </html>
submitReset Code
ChapterCourseware