Specifies the s...LOGIN

Specifies the space between characters

This example demonstrates:

#How to increase or decrease the space between characters.

Example analysis:

letter-spacing attribute is used to increase or decrease the space between characters (character spacing) .

Attribute values ​​that can be set:

●Normal: Default value, stipulates that there is no extra space between characters.

●length: Defines the fixed space between characters (negative values ​​are allowed).


Next Section
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> <style> h1 {letter-spacing:2px;} h2 {letter-spacing:-3px;} </style> </head> <body> <h1>This is heading 1</h1> <h2>This is heading 2</h2> </body> </html>
submitReset Code
ChapterCourseware