link, import

유석현(SeokHyun Yu)·2022년 11월 15일
0

CSS

목록 보기
32/32
post-thumbnail
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>

    <!-- 외부 CSS 이용 -->
    <link rel="stylesheet" href="style.css" />
    <!-- or-->
    <style>
      @import url("style.css");
    </style>
  </head>
  <body>
    <h1>Hello World</h1>
  </body>
</html>
h1 {
  color: skyblue;
}

profile
Backend Engineer

0개의 댓글