<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn"> <head> <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> <title>网页标题</title> <meta name="keywords" content="关键字列表" /> <meta name="description" content="网页描述" /> <link rel="stylesheet" type="text/css" href="" /> <style type="text/css"> h2{height: 100%; width:100%; background-color:yellow;color:red; font-size:50px;} li{color:red; list-style-image:url(li03.jpg); text-decoration:underline;} </style> <script type="text/javascript"></script> </head> <body> <h2>中国古代的四代美女<h2> <ul> <li>西施</li> <li>王昭君</li> <li>貂蝉</li> <li>杨贵妃</li> </ul> </body> </html> li{color:red; list-stay-image:url(li103.jpg); text-decoration:underline} li{color:red; liststyle-image:url(li103.jpg);text-decoration:underline} css代码里面不能出现<> 写在<style>里面用什么方法可以流畅打出代码哦?????????? 打了很多次,太容易忘记了! 该如何克服呢?
时间: 2024-11-08 20:16:42