2022/03/07
阿新 • • 發佈:2022-03-08
今天繼續鞏固了html頁面
寫了個頁面
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <style type="text/css"> #background{ background:url("../img/guimei.jpg") no-repeat; width: 980px; height: 150px; } li{ line-height: 24px; font-size: 10px; margin-top: 100px; font-weight: bold; width:84px; float: left; text-decoration: underline; } li:hover{ font-size: 14px; } </style> <body> <div id="background"><ul> <li>首頁</li> <li>家用電器</li> <li>手機數碼</li> <li>日用百度</li> <li>書籍</li> <li>幫助中心</li> <li>免費開店</li> <li>全球資訊</li> </ul> </div></body> </html>