본문 바로가기
html+css

HTML에 외부 CSS파일 링크걸기

by momomoo 2024. 4. 26.

작업하고 있는 폴더 안에 style.css파일 만들어주고

<head>안에

<link rel="stylesheet" href="style.css" />

 

 

 

혹시 폴더가 다르면

폴더명/style.css

 

 

 

https://www.freecodecamp.org/korean/news/htmle-oebu-css-seutail-siteureul-jeogyonghaneun-bangbeob/

 

HTML에 외부 CSS 스타일 시트를 적용하는 방법

CSS를 HTML에 적용하는 여러 방법 중 외부 스타일 시트를 사용하는 방법이 가장 일반적인 방법입니다. 그럼 어떻게 CSS파일을 HTML과 연결할 수 있을까요? 외부 CSS 파일을 연결하는 것은 그 어떤 HTML

www.freecodecamp.org