基礎介紹


語法說明


以下舉一個簡單的例子:

<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- style feature can put in head tag -->
    <style>
      /* 針對 h1 change feature */
      h1 {
        color: green;
      }
    </style>

  </head>
  <body>
    <h1>
      Hello man~
    </h1>
    <h2>
      Hello dude~
    </h2>
  </body>
</html>

⬆️代碼展示

Screenshot 2022-10-27 214802.png

⬆️效果展示

Style 要寫在哪裡?