元素的背景
問題描述
為什么我設(shè)置的背景沒有被顯示
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <title>主題</title> <style type="text/css">body{background-image: url("http://image.baidu.com/search/detail?ct=503316480&z=undefined&tn=baiduimagedetail&ipn=d&word=%E7%BD%91%E7%AB%99%E8%83%8C%E6%99%AF%E5%9B%BE%E7%89%87&step_word=&ie=utf-8&in=&cl=2&lm=-1&st=undefined&cs=726661828,2758549640&os=2228873300,1871909306&simid=3439302190,300194912&pn=5&rn=1&di=19776411160&ln=1590&fr=&fmq=1534075403413_R&fm=&ic=undefined&s=undefined&se=&sme=&tab=0&width=undefined&height=undefined&face=undefined&is=0,0&istype=0&ist=&jit=&bdtype=0&spn=0&pi=0&gsm=0&hs=2&objurl=http%3A%2F%2Fpic3.16pic.com%2F00%2F03%2F77%2F16pic_377171_b.jpg&rpstart=0&rpnum=0&adpicid=0&ctd=1534075408417^3_1182X859%1#pn=5&spn=0&di=19776411160&adpicid=0&lpn=0&cs=726661828%2C2758549640&pi=0&simid=3439302190%2C300194912&objurl=http%3A%2F%2Fpic3.16pic.com%2F00%2F03%2F77%2F16pic_377171_b.jpg&fromurl=ippr_z2C%24qAzdH3FAzdH3Fooo_z%26e3B8mrtv_z%26e3Bv54AzdH3Fri5p5AzdH3Frtv_n00808_z%26e3Bip4s&W=650&H=365&S=&TP=jpg")}div{color: red}hr{color: aqua} </style></head><body><br/><div ><big>登錄頁面</big></div><hr/>賬戶:<input type="email"><br><br/>密碼:<input type="password"><br><br/><button type="button">注冊(cè)</button></body></html>
問題解答
回答1:url指向具體圖片地址
相關(guān)文章:
1. python文檔怎么查看?2. python - pycharm 自動(dòng)刪除行尾空格3. 安全性測試 - nodejs中如何防m(xù)ySQL注入4. python - pandas按照列A和列B分組,將列C求平均數(shù),怎樣才能生成一個(gè)列A,B,C的dataframe5. python - Pycharm的Debug用不了6. html - eclipse 標(biāo)簽錯(cuò)誤7. python 利用subprocess庫調(diào)用mplayer時(shí)發(fā)生錯(cuò)誤8. 請(qǐng)問PHPstudy中的數(shù)據(jù)庫如何創(chuàng)建索引9. datetime - Python如何獲取當(dāng)前時(shí)間10. javascript - 有適合開發(fā)手機(jī)端Html5網(wǎng)頁小游戲的前端框架嗎?
