<html lang="ko">
<meta name="discription" content="페이지 설명">
<meta="keywords" content="hrml, css, js, xml>
<title>페이지 타이틀</title>
<abbr title="text"><abbr>
<dfn title="text"><dfn>
<ruby>家和萬事成 <rt>가화만사성</rt></ruby>
<table>
<!-- 테이블 제목 -->
<caption>
태블릿 pc와 스마트폰 판매 현황
</caption>
<!-- 열 제목을 묶어주기 위해서
<colgroup>과 주제 수 만큼<col>사용 -->
<colgroup>
<col />
<col />
<col />
</colgroup>
<!-- thead안에 열 제목을 넣고 scope속성안에 col 추가 -->
<thead>
<tr>
<th scope="col">구분</th>
<th scope="col">태블릿</th>
<th scope="col">스마트폰</th>
</tr>
</thead>
<!-- table 내용 행에 목록 제목이 있다면 th안에 scope row 넣기 -->
<tbody>
<tr>
<th scope="row">상반기 판매수</th>
<td>2만</td>
<td>5만</td>
</tr>
<tr>
<th scope="row">하반기 판매수</th>
<td>3만</td>
<td>11만</td>
</tr>
</tbody>
<!--통계가 결과가 표에 있다면 사용 꼭사용X -->
<tfoot>
<tr>
<th scope="row">총판매수</th>
<td>5만</td>
<td>16만</td>
</tr>
</tfoot>
</table>
<h1>접근서을 높이기 위한 표만들기 (병합성)</h1>
<h2>colgroup</h2>
<table>
<caption>
상품에 따른 월별 판매 현황1
</caption>
<thead>
<tr>
<th rowspan="2" scope="col">구분</th>
<th colspan="3" scope="colgroup">상품종류</th>
</tr>
<tr>
<th scope="col">스마트폰</th>
<th scope="col">태블릿</th>
<th scope="col">데스크탑</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1월</th>
<td>5만대</td>
<td>3만대</td>
<td>1만대</td>
</tr>
</tbody>
</table>
===================================================
<h2>id, headers</h2>
<table>
<caption>
상품에 따른 월별 판매 현황1
</caption>
<thead>
<tr>
<th rowspan="2" id="division">구분</th>
<th colspan="3" id="product">상품종류</th>
</tr>
<tr>
<th headers="product" id="smartphone">스마트폰</th>
<th headers="product" id="tabletpc">태블릿</th>
<th headers="product" id="pc">데스크탑</th>
</tr>
</thead>
<tbody>
<tr>
<th headers="division" id="month">1월</th>
<td headers="product smartphone">5만대</td>
<td headers="product tabletpc">3만대</td>
<td headers="product pc">1만대</td>
</tr>
</tbody>
</table>
<form>
안에 여러 요소들을 그룹화 할때 사용<legend>
포함//1.
<label for="Aname">이름</label>
<input type="text" id="Aname">
====================================
//2.
<label>이름<input type="text"></label>
(tag)ID 💨 a(href="#id")
(table 부모th)ID 💨 headers(자식 td,th = table접근성)
(input)ID 💨 for(label)
(datalist)ID 💨 list(input)
attribute
radio // checkbox 차이점**
같은 카테고리 끼리 위 태그를 만들때
radio : 같은 name="" 속성 으로 선언 // value속성이 있음
checkbox: 다른 name="" 속성 으로 선언 // value속성이 없음(자체 내장)
<lable><input type="radio" name="job" value="student" checked />학생</lable>
<lable><input type="radio" name="job" value="professor" />교사</lable>
<lable><input type="radio" name="job" value="job" />공무원</lable>
<h2>checkbox</h2>
<lable><input type="checkbox" name="d" checked />강아지</lable>
<lable><input type="checkbox" name="f" />관상어</lable>
<lable><input type="checkbox" name="c" />고양이</lable>
<h2>submit reset</h2>
<input type="submit" value="전송" />
<input type="reset" value="초기화" />
<input type="button" value="확인" />
<input type="image" src="./images/search.jpg" alt="cbtn" />
a. 목록이많을경우 관련있는 것들끼리 묶어줌 그룹이름은 목록 펼치면 가장상단에 제목으로 지정됨
<label for="choice">좋아하는 과일은?</label>
<select name="choicefruit" id="choice" size="1">
<optgroup label="과일">
<option value="apple">사과</option>
<option value="orange">오렌지</option>
<option value="banana">바나나</option>
</optgroup>
</select>
<option value label>
선언 <fieldset>
<legend>수강 과목을 선택하세요</legend>
<label class="reg" for="interest">관심분야</label>
<input type="text" id="interest" list="choices" />
<datalist id="choices">
<option value="grammar" label="문법"></option>
<option value="voca" label="어휘"></option>
<option value="speaking" label="회화"></option>
<option value="listening" label="리스닝"></option>
<option value="news" label="뉴스청취"></option>
</datalist>
</fieldset>