1,html Hollow Lattice
|
& #160; |
Continuous white space (1 character width) |
  |
& #8194; |
Half Blank (1 character width) |
  |
& #8195; |
A blank (2 character width) |
  |
& #8201; |
Narrow white space (less than 1 characters wide) |
2,css The way space
in CSS, when the White-space property value is pre, the browser retains space and line breaks in the text, for example:
<div style= "White-space:pre" >aa bb<div>
Display effect: AA BB
The Letter-spacing property of the CSS is used to set the spacing between characters in the text, for example:
<div style= "letter-spacing:5px;" > Welcome to Visit! </div>
The display effect is: Welcome!
The Word-spacing property of the CSS is used to set the spacing between words in the text, for example:
<div style= "word-spacing:5px" >happy new year!</div>
The display effect is: Happy new year!
3, characters commonly used in Html
& |
< |
> |
" |
&qpos; |
© |
® |
™ |
& #38; |
& #60; |
& #62; |
& #34; |
& #39; |
& #169; |
& #174; |
& #8482; |
& |
< |
> |
" |
‘ |
© |
® |
™ |
Whitespace in HTML