CSS Word Spacing

Advertisements

Prev Tutorial Next Tutorial

CSS Word Spacing

CSS Word Spacing properties are used for give sufficient space between two words on web page.

You can give space between two word on web page by using these two size format;

  • px
  • em

CSS word-spacing values

ValueDescription
normalThis is a default value. it specifies a normal word-spacing.
initialIt sets this property to its default value.
inheritIt inherits this property from its parent element.

Example

<!DOCTYPE html>  
<html>  
<head>  
<style>  
p.px {  
    word-spacing: 10px;  
}  
p.em {  
    word-spacing: 2.2em;  
}   
</style>  
</head>  
<body>  
<p class="px">This is my first html with css code.</p>  
<p class="em">This is my first html with css code.</p>  
</body>  
</html>

Result

This is my first html with css code.

This is my first html with css code.

Browser supported

Properties
word-spacingYesYesYesYesYes

Prev Tutorial Next Tutorial

Advertisements

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 8076671483

Pure VPN Privide Lowest Price VPN Just @ $1.65. Per Month with Non Detected IP Lowest Price Non Detected IP VPN

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

Download Projects

Advertisements


Buy Websites 9999595223

Buy Fresh and Payment Receive Media.net Account with Website. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs