1.行內(nèi)樣式

例如:<p style=””>CSS內(nèi)容</p>

2.內(nèi)嵌式

例如:<style type=”text/css”>

      <!--

         p{

             color:red:

             ……;

          }

      -->

      </style>

      <body>

          <p>CSS內(nèi)容</p>

      </body>

3.鏈接式

例如:<link href=”example.css” tyle=”text/css” rel=”stylesheet”>

4.導(dǎo)入樣式

例如:<style type=”text/css”>

        <--

           @import url(example.css);

        -->

      </style>