There are three types of space codes in CSS: space ( ), newline (n), and tab (t). Spaces are used to separate properties and values, newlines are used to break lines within a declaration, and tabs are used to indent blocks of code.
#What are the codes for spaces in CSS?
There are three types of space codes in CSS:
Usage of spaces
Spaces
color : red;
font-family: Arial, Helvetica, sans-serif;
Line break Characters
Between different lines in a declaration:
color: red; font-size: 12px;
Tab characters
is used to indent code blocks:
body { margin: 0; padding: 0; }
The above is the detailed content of What are the codes for spaces in css. For more information, please follow other related articles on the PHP Chinese website!