프런트엔드-HTML

HTML 구조 설계

강사: 최퍼블리셔 · 작성자: 이종춘 · 작성일: 2026-03-30 01:18:43 · 조회수: 7

HTML 글자태그 연습
목록으로
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>

body{
height: 300vh;
}

</style>
</head>
<body>

<!-- *h태그 태그
=>타이틀을 작성할때 사용하는태그
=>h1~h6까지 있으며, 6으로 갈수록 글자가 작아짐
=>자동 줄바꿈
=>속성은 align이 있으며 값으론 left,right,center를 통해
글자 정렬 할 수 있음
=>h1태그는 페이지내에 하나만 존재해야됨 -->


기본 글자
<h1 align="left">타이틀 태그</h1>
<h2 align="right">두번째 타이틀 태그</h2>
<h3 align="center">세번째 타이틀 태그</h3>
<h4>번째 타이틀 태그</h4>
<h5>세번째 타이틀 태그</h5>
<h6>세번째 타이틀 태그</h6>


<br><br><br>

일반 글자 <br>
<b>글자 두껍게</b><br>
<big>글자 크게</big><br>
<small>글자 작게</small><br>
<i>글자 기울기</i><br>
<strong>글자 두껍게</strong><br>
<u>글자 밑줄</u><br>
<strike>취소선</strike><br>
<del>취소선</del><br>
2m<sup>2</sup><br>
5m<sub>g</sub>

<br><br><br>

Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum <p> comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Contrary to popular belief, Lorem Ipsum is not simply random text.</p> It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, <div> looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC.</div> This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

</body>
</html>
#글자태그

첨부 파일

0개
첨부된 파일이 없습니다.

댓글 / 답글

0개
댓글을 작성하려면 로그인하세요.
아직 댓글이 없습니다.