--- id: w3css-pagination title: "W3CSS Pagination" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["w3-bar pagination", "page numbers", "W3.CSS 페이지네이션"] duplicate_of: "" source_trust_level: "B" confidence_score: 0.86 created_at: 2026-07-04 updated_at: 2026-07-04 review_reason: "" merge_history: [] tags: ["w3css", "css-framework", "w3schools", "pagination"] raw_sources: ["https://www.w3schools.com/w3css/w3css_pagination.asp"] applied_in: [] github_commit: "" --- # [[W3CSS Pagination]] ## 🎯 한 줄 통찰 (One-line insight) Pagination, like tabs, has no dedicated class — it's just `w3-bar` + `w3-button` links containing page numbers, meaning everything already learned about bars (color, hover-color, sizing, borders, rounding, centering) applies directly, and the SAME `w3-bar` markup used for pagination is shown reused verbatim for a completely different purpose (a previous/next button pair, or an inline menu) later in the same chapter. [S1] ## 🧠 핵심 개념 (Core concepts) - **Basic pagination** — `w3-bar` container with `w3-button` links for each page number; adding `w3-bar-item` removes inter-button spacing for a connected look. [S1] - **Active page indicator** — any `w3-color` class (e.g. `w3-green`) applied to the current page's link. [S1] - **Sizing** — `w3-tiny` through `w3-xxxlarge` on the container scale all pagination buttons uniformly. [S1] - **Centering** — wrapping the `w3-bar` in a `w3-center` div. [S1] - **Bordered/rounded** — `w3-border` and `w3-round` combine on the container for a connected, rounded-edge pagination strip. [S1] - **Same markup, different purpose** — the identical `w3-bar` pattern is reused for Previous/Next buttons (`w3-right` on the "Next" link) and for a plain inline navigation menu, showing pagination is really just one specific USE of the general bar component. [S1] ## 📖 세부 내용 (Details) - Connected pagination buttons: `
«1...»
`. [S1] - Bordered + rounded: `
`. [S1] - Previous/Next reusing the same bar pattern: `
❮ PreviousNext ❯
`. [S1] ## ⚖️ 모순 및 업데이트 (Contradictions & updates) - 현재까지 발견된 모순 사항 없음 (No contradictions found in available sources). ## 🛠️ 적용 사례 (Applied in summary) 현재 발견된 실제 적용 사례가 없습니다 — 동일한 w3-bar 마크업을 페이지네이션·이전/다음 버튼·인라인 메뉴 세 가지 용도로 재사용하는 것이 실전 컴포넌트 재사용 원칙의 대표 사례다. [S1] ## 💻 코드 패턴 (Code patterns) Bordered, rounded pagination with an active-page indicator (HTML/CSS): ```html
« 1 2 3 »
``` ## ✅ 검증 상태 및 신뢰도 - **상태:** draft - **검증 단계:** conceptual - **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body) - **신뢰 점수:** 0.86 - **중복 검사 결과:** 신규 생성 (New discovery) ## 🔗 지식 그래프 (Knowledge Graph) - **상위/루트:** [[W3.CSS Tutorial]] - **관련 개념:** [[W3CSS Bars]], [[W3CSS Tabulators]], [[W3CSS Progress Bar]] - **참조 맥락:** w3-bar 컴포넌트의 두 번째 실전 응용 — 프로그레스 바(Progress Bar) 챕터로 이어짐. ## 📚 출처 (Sources) - [S1] W3Schools — W3.CSS Pagination — https://www.w3schools.com/w3css/w3css_pagination.asp ## 📝 변경 이력 (Change history) - 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Pagination" page (Astra wiki-curation, P-Reinforce v3.1 format).