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>

Updated on: 31-Jan-2020

179 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements