Inline style: The highest-priority style
<div style= "width:100px;height:100px;" ></div>
Style= "" with colons and semicolons
Width widths
Height altitude
Background-color background Color
Float:left; Multiple div horizontal arrangement
Flow layout
<div style= "width:100px;height:100px;float:left;margin:5px;" ></div>
<div style= "width:100px;height:100px;float:left;margin:5px" ></div>
<div style= "width:100px;height:100px;float:left;margin:5px" ></div>
<div style= "width:100px;height:100px;float:left;margin:5px" ></div>
margin:5px interval
Font
<div style= "color:red;font-size:x-large;font-family: Black" > Hahaha </div>
Color colors
Font-size Font Size
font-family fonts
Set a background picture
<body style= "Background-image:url (22.png); background-repeat:repeat-x;" >
Background-image:url (path);
Background-repeat:repeat-x Background picture Placement type
CSS Cascading Style Sheets