CSS 초기화
- HTML 문서를 작성하다 보면 초기에 CSS가 설정되어 있는 것을 알 수 있다.
- 이를 초기화 하기 위해 CSS를 초기화하는 파일이나 링크를 이용할 수 있다.
- 구글에 "reset-css cdn" 을 입력하면 CSS 초기화 파일 혹은 링크를 공유하는 웹 사이트를 찾을 수 있다.
https://www.jsdelivr.com/package/npm/reset-css
jsDelivr - A free, fast, and reliable CDN for Open Source
Supports npm, GitHub, WordPress, Deno, and more. Largest network and best performance among all CDNs. Serving more than 80 billion requests per month. Built for production use.
www.jsdelivr.com
=> 클립보드에 복사하여 자신이 작성하고 있는 HTML 파일의 <head> 태그 안에 붙여넣기 해준다.
<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>웹 개발</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reset-css@5.0.1/reset.min.css">
</head>
=> CSS가 초기화 된다.