First introduct...LOGIN

First introduction to CSS

CSS Tutorial

By using CSS we can greatly improve the efficiency of web development!

In our CSS tutorial, you'll learn how to use CSS to control the style and layout of multiple web pages at the same time.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS测试</title>
<style>
body{
background-color:yellow;
}
h1{
text-align:center;
color:green;
}
p{
font-family:"微软雅黑";
font-size:40px;
text-align:center;
}
</style>
<body>
<h1>春晓</h1>
<p>
春眠不觉晓
</p>
<p>
处处闻啼鸟
</p>
<p>
夜来风雨声
</p>
<p>
花落知多少
</p>
</body>
</html>


Next Section
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS测试</title> <style> body{ background-color:yellow; } h1{ text-align:center; color:green; } p{ font-family:"微软雅黑"; font-size:40px; text-align:center; } </style> <body> <h1>春晓</h1> <p> 春眠不觉晓 </p> <p> 处处闻啼鸟 </p> <p> 夜来风雨声 </p> <p> 花落知多少 </p> </body> </html>
submitReset Code
ChapterCourseware