CSS 04 text-align, text-decoration, line-height 속성 사용하기

프론트엔드/CSS|2021. 3. 19. 14:58
text-align,text-decoration,line-height 속성

초보개발자의 성장블로그

안녕하세요~ 반갑습니다. 초보개발자의 성장블로그입니다. 좋은 하루 보내세요~^^

<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>text-align,text-decoration,line-height 속성</title>
  <style>
   h2.textalign{
      text-align:center;
      text-decoration:underline;
    }   
    p.textalign2{
      line-height:250%;
    }
  </style>
</head>
<body>
  <h2 class="textalign">초보개발자의 성장블로그</h2>
  <p class="textalign2">안녕하세요~ 반갑습니다. 
    초보개발자의 성장블로그입니다. 좋은 하루 보내세요~^^</p>
</body>
</html>

댓글()
구독