태그란 html 을 기술하기 위하여 사용하는 명령어의 집합이다.
태그는 여는 태그와 닫는 태그로 구성되며 닫는 태그 없이 단독으로 이용하는 태그도 있다.
ex1)
<strong>creating web pages</strong>
여기서 태그는 <strong>
이며 실행하면
ex1
creating web pages
라는 결과가 나온다.
<html>
:웹페이지의 시작과 끝
index<html>index</html>
<h1>
- <h6>
:제목을 정의하는 데 사용
<h1>This is heading 1</h1> <h2>This is heading 2</h2> <h3>This is heading 3</h3> <h4>This is heading 4</h4> <h5>This is heading 5</h5> <h6>This is heading 6</h6>
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
<a>
:한 페이지에서 다른 링크를 사용하는 하이퍼 링크를 정의
<a href="https://wecode.co.kr/">Visit https://wecode.co.kr/!</a>
뭐든 기본이 제일 중요하죠: ) 성민님 벨로그로 HTML 리마인드해볼께요!