font-family

구글 폰트 사용하기

Google Fonts

원하는 폰트 선택 후

복사해서 붙여 넣기

<!-- 구글 폰트 링크 -->
    <link href="<https://fonts.googleapis.com/css2?family=Black+Han+Sans&family=Song+Myung&family=Stylish&display=swap>" rel="stylesheet">
    <style>
        h1 {
            font-family: 'Black Han Sans', sans-serif;
            font-style: italic;
            font-size: 3rem;
        }
        h3 {
            font-family: 'Song Myung', serif;
            font-weight: 100;
        }
        p {
            font-family: 'Stylish', sans-serif;
            
        }

Nem → 기본 폰트의 N 배