전준호

html example

<html>
<body>
<table border = "1">
<tr>
<th>분류</th>
<th>제품명</th>
<th>단가</th>
<th>수량</th>
<th>금액</th>
</tr>
<tr>
<td rowspan="3">공산품</td>
<td>iPhone</td>
<td align="right">900,000</td>
<td align="right">2</td>
<td align="right">1,800,000</td>
</tr>
<tr>
<td>LED TV</td>
<td align="right">3,000,000</td>
<td align="right">3</td>
<td align="right">9,000,000</td>
</tr>
<tr>
<td colspan="3" align = "middle">소계</td>
<td align="right">10,800,000</td>
</tr>
<tr>
<td rowspan="2">농산품</td>
<td>인삼</td>
<td align="right">10,000</td>
<td align="right">200</td>
<td align="right">2,000,000</td>
</tr>
<tr>
<td colspan="3", align = "middle">소계</td>
<td align="right">2,000,000</td>
</tr>
<tr>
<td colspan="4", align = "middle">합계</td>
<td align="right">12,800,000</td>
</tr>
</table>
</body>
</html>
<html>
<body>
<form action="" method="post">
<table border="5">
<tr>
<th>아이디</th>
<td colspan="3">
<input type="text" name="id" size="15"/>
<input type="button" value="중복조회"/>
</td>
</tr>
<tr>
<th>비밀번호</th>
<td><input type="password" name="pwd" size="15"/></td>
<th>확인</th>
<td><input type="password" name="pwd2" size="15"/></td>
</tr>
<tr>
<th>이름</th>
<td colspan="3">
<input type="text" name="name" size="15"/>
</td>
</tr>
<tr>
<th>이메일</th>
<td colspan="3">
<input type="text" name="email" size="20"/>
</td>
</tr>
<tr>
<th>성별</th>
<td colspan="3">
<input type="radio" name="sex" value="m"/>
<input type="radio" name="sex" value="f"/>
</td>
</tr>
<tr>
<th>지역</th>
<td colspan="3">
<select name="region">
<option value="seoul">서울</option>
<option value="yongin">용인</option>
<option value="etc">기타</option>
</select>
</td>
</tr>
<tr>
<td colspan="4">
<input type="checkbox" name="agree" value="agree"/>
약관에 동의합니다.
</td>
</tr>
</table>
<input type="submit" value="회원가입"/>
</form>
</body>
</html>
<html>
<body>
<form action = "" method="post">
<input type="hidden" name="type" value="user"/>
아이디 : <input type="text" name="name" size="10"/>
<input type="button" value="중복조회"/> <br/>
비밀번호: <input type="password" name="pwd" size="10"/><br/>
성별:
<input type="radio" name="sex" value="m"/>
<input type="radio" name="sex" value="f"/>
<br/>
취미:
<input type="checkbox" name="hobby" value="book"/>
<input type="checkbox" name="hobby" value="movie"/>영화
<input type="checkbox" name="hobby" value="music"/>음악
<br/>
사진: <input type="file" name="photo"/><br/>
주소: <select name="job">
<option value="seoul">서울</option>
<option value="busan">부산</option>
<option value="etc">기타</option>
</select>
<br/>
소개: <br/>
<textarea cols="30" rows="5" name="intro"></textarea><br/>
<input type="submit"/>
</form>
</body>
</html>
<html>
<body>
<table border="1">
<caption>홈런순위</caption>
<thead>
<tr>
<th>이름</th>
<th>홈런</th>
</tr>
</thead>
<tbody>
<tr>
<td>이대호</td>
<td>41</td>
</tr>
<tr>
<td>최진행</td>
<td>27</td>
</tr>
<tr>
<td>홍성흔</td>
<td>26</td>
</tr>
</tbody>
<tfoot>
<tr>
<th colspan="2">2010-08-22</th>
</tr>
</tfoot>
</table>
</body>
</html>