Computer >> Computer tutorials >  >> Programming >> Javascript

Add or subtract space between the letters that make up a word with CSS


To add or subtract space between the letters that make up a word, use the letter-spacing property.

Example

You can try to run the following code to implement letter-spacing property:

<html>
   <head>
   </head>
   <body>
      <p style = "letter-spacing:4px;">
         Asia is a continent.
      </p>
   </body>
</html>