
<tag 이름> - content - </tag 이름> <food>김치</food><ol>): 순서가 있는 목록<ul>): 순서가 없는 목록<li>): 리스트 아이템<ul>
<li>김치</li>
<li>우유</li>
<ul>
<a>)<a href="http://">target="_self": 바로 이동target="_blank": 새 탭으로 이동<img />)src="이미지 주소")src="파일 이름.확장자"<!DOCTYPE html><html>...</html><head><title>: 웹사이트의 타이틀 지정<body>charset="utf-8": 특수문자 언어 안 깨지고 나오게 한다<html lang="">: 검색 엔진에게 사이트에서 사용하는 언어 알려준다<link rel="shortcut icon" />: 타이틀 옆 로고 설정og:<!DOCTYPE html>
<html lang="kr">
<head>
<link
rel="shortcut icon"
sizes="16x16 32x32 64x64"
href="https://nomadcoders.co/m.png"
/>
<title>Home - My first website.</title>
<meta charset="utf-8" />
<meta name="description" content="This is my website" />
</head>
<body>
<h1>Hello!</h1>
<a href="http://google.com">Go to google.com</a>
<img src="KakaoTalk_20210126_003913544.jpg" />
</body>
</html>
<p>: paragraph, 긴 문장<pre>: 글씨체 다름<mark>: 하이라이팅<p>I love <mark>you!</mark></p>I love you!
<strong>: 글자 굵게<sup>: 글자 조금 위로<p>2<sup>5</sup></p>25
<audio>: 음악 재생<audio controls src="https://(생략).mp3"></audio><dialog><dialog><p>Greetings, everyone!</p></dialog><form><input>disabled: 입력 금지, 마우스 클릭 안됨required: 안내 문구minlength: 최소 글자 제한file: 파일 첨부 가능accept: file attribute와 사용, 첨부 가능한 확장자 목록 / image/*(이미지 파일 전부), video/*, audio/* <input type="file" accept=".pdf" />
<input reuired placeholder="Name" type="text" />
<input reuired placeholder="Last Name" disabled type="text" />
<input reuired placeholder="Username" minlength="10" type="text" />
<input reuired placeholder="password" minlength="10" type="password" />
<input type="submit" value="Create Account" /><tagname attrname="attrvalue"></tagname>label: form에 question 추가<label>Profile Photo</label>idid="website" (생략) type="text"alt+클릭: 두 군데 동시 입력range: 범위 조정 가능date: 날짜div: 박스, division<div> <label>...< /></div>header = divhead와는 다름<header> <h1>The Taki Times</h1> </header><div id="header"> => 이런 식으로도 가능main<main> <span>hello!</span> </main>span: 짧은 텍스트p: 문단footer: 꼬릿말<footer> © 2020 T.K </footer>head: 눈에 보이진 않지만 중요한 기능