大家好,又见面了,我是你们的朋友全栈君。
<html>
<head>
<!-- <style> body{ background-color: #FFC1C1; 方式一设置 } </style> -->
</head>
<body style="background-color: #FFC1C1"> <!--方式二设置-->
<h1>Set the Background</h1>
</body>
</html>
<html>
<head>
</head>
<body background="image/01.PNG">
<h1>Set the Background</h1>
</body>
</html>
<html>
<head>
</head>
<body style="background-image:url(http://pic4.nipic.com/20090821/2267807_180803075_2.jpg);">
<h1>Set the Background</h1>
</body>
</html>
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/134572.html原文链接:https://javaforall.cn