网页源代码
<html>
<head>
<title>
hello,sherry
</title>
<link href="1.css" type="text/css" rel="stylesheet" >
</head>
<body class="mytest1">
<h1>nihao</h1>
<h2 class="mytest2">nihao</h2>
</body>
</html>
css样式表代码
<style type="text/css">
.mytest1{background-color:#00ff00}
.mytest2{background-color:#ff0000}
</style>
1.css
HTML
CSS
.mytest1{background-color:#00ff00}发现这个代码样式挺好看的。。。