html css 链接方式


      外部样式表:
            <head>
              <link rel="stylesheet" type="text/css" href="mystyle.css">
             </head>
       内部样式表:
            <head>
               <style type="text/css">
                   body {background-color: red}
                   p {margin-left: 20px}
                </style>
             </head>
        内联样式:
             <p style="color: red; margin-left: 20px">
                 This is a paragraph
               </p>
posted @ 2011-04-15 21:12  bert.zeng  阅读(371)  评论(0)    收藏  举报