
<a href="주소창" target="_blank"> 주소 </a>
<a href="#bee"> 꿀벌🐝 </a>
<div id="bee"> 꿀벌 최고! </a>
꿀벌🐝 링크를 클릭시, id가 bee인 태그로 이동<a href="mailto:aaabbbccc@naver.com"> 메일 </a>
이메일 앱으로 연결<a href="tel:010-1234-5678"> 전화 </a>
전화 앱으로 연결<ol>
<li> 리스트1 </li>
<li> 리스트2 </li>
...
</ol>
<ul>
<li> 리스트1 </li>
<li> 리스트2 </li>
...
</ul>
type속성으로 기호 변경 가능a : a, b, c, ...i : i, ii, iii, ...I : I, II, III, ...1 : 1, 2, 3, ...list-style 속성으로 변경 가능display: inline-block<table>
<tr>
<td> 내용1-1 </td>
<td> 내용1-2 </td>
<td> 내용1-3 </td>
</tr>
<tr>
<td> 내용2-1 </td>
<td> 내용2-2 </td>
<td> 내용2-3 </td>
</tr>
<tr>
<td> 내용3-1 </td>
<td> 내용3-2 </td>
<td> 내용3-3 </td>
</tr>
</table>
<table> : table
<tr> : table row
<td> : table data sell
<table>
<thaed>
<tr>
<th> 머리글 </th>
<th> 머리글 </th>
<th> 머리글 </th>
</tr>
</thaed>
<tbody>
<tr>
<th> 주 내용2 </th>
<td> 내용2-2 </td>
<td> 내용2-3 </td>
</tr>
</tbody>
<tfoot>
<tr>
<th> 내용3-1 </th>
<th> 내용3-2 </th>
<th> 내용3-3 </th>
</tr>
</tfoot>
</table>
table {
border: 1px solid red;
}
table {
border: 1px solid red;
border-collapse: collapse;
}
border-collapse : 간격을 없애고, 테두리를 겹치기table {
border: 1px solid red;
border-spacing: 10px;
}
border-spacing : 테두리 사이의 간격을 직접 조절<img src="이미지 주소" alt="정보 표시">
<video src="bee.mp4" autoplay controls width="480" height="360"></video>
autoplay : 자동재생
muted : 음소거 <- 크롬에서는 이걸 써야 동작함
controls : 영상 조작 버튼
<audio src="bee.mp3" autoplay controls width="480" height="360"></audio>
autoplay : 자동재생
muted : 음소거 <- 크롬에서는 이걸 써야 동작함
controls : 오디오 조작 버튼
<iframe src="주소창" width="" height="">
<form>
<div>
<label for="signup-email">이메일</label>
<input id="signup-email" name="email" type="email">
</div>
<div>
<label for="signup-password">비밀번호</label>
<input id="signup-password" name="password" type="password">
</div>
<div>
<label for="signup-password-repeat">비밀번호 확인</label>
<input id="signup-password-repeat" name="password-repeat" type="password">
</div>
</form>
for : input의 id와 이름이 같으면 연결
id : label for와 이름이 같으면 연결
name : 데이터를 전송할 때 사용하는 이름 (정해진 값 없음)
type : 입력 받을 내용의 타입 (정해진 값 있음)
<label>
<input name="agreement" type="checkbox">
체크
</label>
<label>
<input type="checkbox" name="bee" value="fly">
꿀벌
</label>
&bee=fly<input name="ymd" type="date">
<input name="bee" type="file">
<input name="bee" type="file" accept=".jpg, .raw">
<input name="bee" type="file" mutliple> <!-- 여러개 -->
<input name="bee" type="file"> <!-- 한 개 -->
<!-- 100에서 1000사이 -->
<input type="number" min="100" max="1000">
<input id="1" name="feeling" value="0" type="radio">
<label for="1">1</label>
<input id="2" name="feeling" value="1" type="radio">
<label for="2">2</label>
<input id="3" name="feeling" value="2" type="radio">
<label for="3">3</label>
<input id="4" name="feeling" value="3" type="radio">
<label for="4">4</label>
<input id="5" name="feeling" value="4" type="radio">
<label for="5">5</label>
<form>
<div>
<label for="signup-email">이메일</label>
<input id="signup-email" name="email" type="email">
</div>
<div>
<label for="signup-password">비밀번호</label>
<input id="signup-passowrd" name="password" type="password">
</div>
<div>
<label for="signup-password-repeat">비밀번호 확인</label>
<input id="signup-password-repeat" name="password-repeat" type="password">
</div>
<button type="submit">확인</button>
<button type="reset">취소</button>
</form>
type : button, submit, reset 속성 값 존재
<input name="input_id" placeholder="아이디를 입력하세요">
<input name="input_id" placeholder="아이디를 입력하세요" required>
<input name="input_id" autocomplete="on">
<input name="email" autocomplete="email">
<input name="tle" autocomplete="tel">
<link rel="stylesheet" href="style.css">
rel : relation = 관계, 불러올 파일이 어떤 종류인지 작성
href : 파일의 경로
의미를 가진 태그
의미만 다를 뿐 = div랑 기능 같음
header : 영역의 도입부
nav : 사이트 안에서 이동
main : 본문
footer : 정보를 담고 있는 공간
article : 독립적인 공간, 하나의 완전한 내용
section : 어떤 것의 부분을 나타날 때 사용
🔥 main은 한번만 사용가능!!

사진 출처 : 코드잇