<title>css学习</title>
<style type="text/css">
p{color:#F00; text-align:center;}
</style>
</head>
<body>
<h>静夜思</h2>
<p>李白</p>
<p>床前明月光</p>
<p>疑是地上霜</p>
<P>举头望明月</P>
<p>低头思故乡</p>
</body>
</html>
标签:center,color,text,align,明月光,望明月,css
来源: https://blog.51cto.com/15077401/2663006