<html>
<head>
<!--.png,即是你背景图片的地址,我是将之放在了html同一目录下-->
<style>
.xue{
background-image: url(你的图片的名称.png);
background-repeat: repeat;
}
</style>
</head>
<body class="xue">
<!--你的框架中的内容,这里会有多个<div> </div>嵌套-->
<div class="***">
.......
</div>
</body>
</html>
<body class="xue">,中的"xue"为自定义,与<style>中的.xue想对应;
若有好的建议请留言,谢谢!!!
博客提到在HTML中,<body class=\xue\>里的“xue”是自定义的,它与<style>中的.xue相对应,还邀请读者留言提建议。
2万+

被折叠的 条评论
为什么被折叠?



