- jQuery모바일 두번째 페이지
- HTML5 내부 페이지 구성
- HTML5 문서 1개에 섹션 여러 개 넣기
1 예시[ | ]
html
Copy
<link rel="stylesheet" href="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.css" />
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<script src="//code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<section id='page1' data-role='page'>
<header data-role='header'>
<h1>제목1</h1></header>
<div class='content'>
<p>내용1</p>
<p><a href='#page2'>2쪽으로 이동</a></p>
</div>
<footer data-role='footer'>
<h1>jmnote</h1></footer>
</section>
<section id='page2' data-role='page'>
<header data-role='header'>
<h1>제목2</h1></header>
<div class='content'>
<p>내용2</p>
<p><a href='#page3'>3쪽으로 이동</a></p>
</div>
<footer data-role='footer'>
<h1>jmnote</h1></footer>
</section>
<section id='page3' data-role='page'>
<header data-role='header'>
<h1>제목3</h1></header>
<div class='content'>
<p>내용3</p>
</div>
<footer data-role='footer'>
<h1>jmnote</h1></footer>
</section>
2 같이 보기[ | ]
편집자 Jmnote bot Jmnote
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- HTML5 (2)
HTML aside 태그 ―Pinkcrimson
HTML br 태그 ― …