<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<title></title>
<style>
div{
width:650px;height:500px;border: 1px solid red;background-image: url(images/22211.jpg); /*背景图默认是铺平的*/background-repeat:no-repeat;background-repeat: repeat-x;background-repeat: repeat-y;padding:100px; /* padding区域有背景图*/font-size: 60px;font-weight: bold;
}</style>
</head>
<body>
<div>
文字文字文字文字文字文字
</div></body>
</html>