<body>标签
用法:<body>内容</body>
<body>的常用属性
bgColor:网页背景色。如:<body bgColor = “red”>
background:网页背景图片地址。如:<body background = “images/01.jpg”>
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>这是我们的第一个页面</title> </head> <body bgColor="#88cc66" background="/upload/course/000/000/009/5858c32b29eab172.jpg"> <h1>欢迎加入php.cn</h1> <h2>希望你能够在这里学的开心</h2> </body> </html>
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
":""}
如此甚好。5年前
background 简写属性在一个声明中设置所有的背景属性。 可以设置如下属性: background-color 规定要使用的背景颜色。 background-position 规定背景图像的位置。 background-size 规定背景图片的尺寸。 background-repeat 规定如何重复背景图像。 background-origin 规定背景图片的定位区域。 background-clip 规定背景的绘制区域。 background-attachment 规定背景图像是否固定或者随着页面的其余部分滚动。 background-image 规定要使用的背景图像。 inherit 规定应该从父元素继承 background 属性的设置。
0
Nancy8年前
bgColor:网页背景色。如:<body bgColor = “red”> background:网页背景图片地址。如:<body background = “images/01.jpg”>
0
phpcn_u5179年前
bgColor:网页背景色。如:<body bgColor = “red”> background:网页背景图片地址。如:<body background = “images/01.jpg”>
0
小白9年前
bgColor:网页背景色。如: background:网页背景图片地址。 <table border="1"> <tr> <td width="50" height="50" bgColor="#88cc66"></td> <td width="50" height="50" background="http://img15.3lian.com/2015/f1/7/d/48.jpg"></td> </tr> </table>
0
phpcn_u719年前
bgColor 网页背景色, <body bgColor="red"> background 网页背景图片地址 <body background="images/01.jpg">
0