码迷,mamicode.com
首页 > Web开发 > 详细

CSS学习记录

时间:2016-11-19 21:03:03      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:多次   忘记   java   yellow   esc   如何   set   http   xhtml   

<!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>里面
用什么方法可以流畅打出代码哦?????????? 打了很多次,太容易忘记了! 该如何克服呢?

 

CSS学习记录

标签:多次   忘记   java   yellow   esc   如何   set   http   xhtml   

原文地址:http://www.cnblogs.com/wangxiaofeng2/p/6081311.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!