html 怎么给页面设置背景图片?
问题描述:
<body onload="start()" background="../static/aa.PNG">
GET http://localhost:8081/static/aa.PNG 404
报404 找不到这个 我是根据提示写的路径 是有图片的
答
尝试一下用 内嵌样式写呢 <body onload="start()" style = "background:url()">...</body>