Medium text interval, alphabetic interval setting:
If you want to set the text interval or the letter spacing In the page layout can be implemented using letter-spacing , such as the following code:
h1{ letter-spacing:50px;} ... < H1 > Great Gatsby </H1>
Note: This style is used in English words to set the spacing between letters.
Word spacing Settings :
What if I want to set the spacing between English words? Can be implemented using word-spacing . The following code:
h1{ word-spacing:50px;} ... < H1 >Welcome to here! </ H1 >
Example:
<!DOCTYPE HTML><HTML><Head><Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8"><title>Word spacing</title><styletype= "Text/css">H1{letter-spacing:20px;font-size:20px;}P{word-spacing:20px;}#pp{letter-spacing:20px;</style></Head><Body> <H1>Hello world, Hello Rinpe!</H1> <HR/> <P>Hello world, Hello Rinpe!</P> <HR/> <PID= "pp">My name is xxxxx.</P></Body></HTML>
Effect:
Paragraph layout--Chinese text spacing, letter spacing (letter-spacing, word-spacing)