CSS ?? ????: ??
CSS ??
CSS ?? ??: ?? ??? ???? ?? ??? ?????. ?? ?? ??? ???? ?? ?? ??? "????" ???.
?:
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>php.cn</title> <style type="text/css"> div{ color:red; } h1{ color:blue; } p{ color:green; } </style> </head> <body> <div> <h1>習(xí)近平心中的互聯(lián)網(wǎng)</h1> <p>互聯(lián)網(wǎng)是20世紀(jì)最偉大的發(fā)明,它正在將人類“一網(wǎng)打盡”,人們在不知不覺中已經(jīng)融入了互聯(lián)網(wǎng)生態(tài),互聯(lián)網(wǎng)讓世界變成了“雞犬之聲相聞”的地球村。 </p> </div> </body> </html>
firebug? ???? ??
?? ??? CSS ??? ???? ? ????
CSS ??? ??? ?????:
??, ?? ??, ?? ??, ?? ???, ?? ??
text-align, text-??, text-indent, letter-spacing, line-height
?: <body>? CSS ??? ?? ?? ??? ?????.