HTML 페이지 기본 사항
1. 기본 구조
<header> <h2>网页的头部</h2> </header>
<section> <h2>网页主体</h2> </section>
<footer> <h2>网页脚步</h2> </footer>
2. 인라인 프레임 워크
<iframe src="https://www.baidu.com" name="hl" frameborder="0" width="300px" height="500px"></iframe>
<a href="https://user.qzone.qq.com/3187311481" target="hl">点击跳转</a>
3. 양식 구문
<form action="Deom1.html" method="get">
<p>账号:<input type="text" name="username"> </p>
<p>密码:<input type="password" name="pwd"> </p>
<p>
<input type="submit">
<input type="reset">
</p>
</form>
4. 버튼
단일 버튼
<input type="radio" name="sex">男
<input type="radio" name="sex">女
다중 선택 버튼
<input type="checkbox" >睡觉
<input type="checkbox" >泡澡
<input type="checkbox" >沐浴
5. 드롭 다운 목록
<select>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
</select>
6. 파일 도메인
<p>
<input type="file" name="files">
</p>
7. 이메일 메일 판단
<input type="email" name="email">
8. 슬라이더
音量:
<input type="range" min="0" max="100" name="voice">
9. 검색
<input type="search" name="search">
10. 비활성화 및 숨기기
<input type="submit" disabled>
<input type="submit" hidden>
11. 강화
<label for="mark">你点我试试看</label>
<input type="text" id="mark">
12. 양식의 1 차 검증
<p>账号:<input type="text" name="username" placeholder="请输入用户名" required pattern=""> </p>
<p>密码:<input type="password" name="pwd"> </p>