모든 태그를 외우고 있기에는 종류가 많고 기본적으로 많이 사용되는 태그만 알고 있고 모르는건 검색을 통해 알아봐도 좋다고 한다!
<!DOCTYPE html>
<html lang="ko">
<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>Document</title>
</head>
<body>
</body>
</html>
기본 양식에 있는 태그
<body>
<div class="leftdiv">
<h1>1번</h1>
<p>시작</p>
</div>
<div class="middlediv">
<h1>2번</h1>
<p>중간</p>
</div>
<div class="rightdiv">
<h1>3번</h1>
<p>끝</p>
</div>
</body>
<a href="https://www.naver.com"> 네이버 접속</a>
<head>
<link rel="stylesheet" type="text/css" href="/examples/media/expand_style.css">
</head>
<body>
<img src="icecream.png" alt="아이스크림 이미지">
</body>
<span style="background-color:red">spancolor</span>
<ul>
<li>아메리카노</li>
<li>라떼</li>
<li>아포가토</li>
<li>쿠키
<ul>
<li>초코</li>
<li>녹차</li>
<li>모카</li>
</ul>
</li>
</ul>
리스트 태그 종류에는 순서가 있는 리스트 순서가 없는 리스트, 메뉴 리스트들이 있다.
<head>
<style>
body { background-color: orange }
h1 { color: red; }
p { text-decoration: underline; }
</style>
</head>
<p>
하나씩<br>
알아가봅시다
<p>
br tag: 줄바꿈을 할 때 사용한다.
input tag: 사용자가 수정할 수 있는 텍스트칸을 정의할 때 사용한다. 에디트텍스트라고 볼 수 있다.
footer tag: 대부분 사이트의 이용약관이나 회사정보, 고객센터 같은 정보를 정의한다.
header tag: 문서나 특정 섹션의 헤더부분을 정의할 때 사용한다.
문서 안의 head태그라고 이해하면 될듯하다.
보통 h1~h6태그를 가지고있고, 로고나 아이콘, 저자정보를 가지고 있을 때도 있다.
이정도는 외우고 시작을 해야 된다고 생각한다. 앞으로 더 공부를 하면서 외워야 된다고 생각이 드는 태그들을 하나씩 추가해 나가 보아야겠다.