1cfd3bbb56
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
77 lines
3.5 KiB
Markdown
77 lines
3.5 KiB
Markdown
---
|
|
id: w3css-tables
|
|
title: "W3CSS Tables"
|
|
category: "Programming_Language"
|
|
status: "draft"
|
|
verification_status: "conceptual"
|
|
canonical_id: ""
|
|
aliases: ["w3-table-all", "W3.CSS 테이블"]
|
|
duplicate_of: ""
|
|
source_trust_level: "B"
|
|
confidence_score: 0.89
|
|
created_at: 2026-07-04
|
|
updated_at: 2026-07-04
|
|
review_reason: ""
|
|
merge_history: []
|
|
tags: ["w3css", "css-framework", "w3schools", "tables"]
|
|
raw_sources: ["https://www.w3schools.com/w3css/w3css_tables.asp"]
|
|
applied_in: []
|
|
github_commit: ""
|
|
---
|
|
|
|
# [[W3CSS Tables]]
|
|
|
|
## 🎯 한 줄 통찰 (One-line insight)
|
|
`w3-table-all` isn't a single style — it's shorthand for combining striped + bordered + hoverable all at once, meaning reaching for it saves writing three separate class names but also locks you into all three behaviors together, whereas manually combining `w3-striped w3-bordered` alone (without hoverable) requires spelling them out individually. [S1]
|
|
|
|
## 🧠 핵심 개념 (Core concepts)
|
|
- **`w3-table`** — base table container class. [S1]
|
|
- **`w3-striped`** — zebra-striped rows. [S1]
|
|
- **`w3-bordered`** — bottom border on each row. [S1]
|
|
- **`w3-border`** — border AROUND the whole table (reusable on any element, not table-specific). [S1]
|
|
- **`w3-table-all`** — combines striped + bordered + hoverable + centered into one class. [S1]
|
|
- **`<thead>` for flipped stripe start** — wrapping the header row in `<thead>` with an explicit color changes which row the stripe pattern starts from. [S1]
|
|
- **`w3-responsive`** — wraps a table to make it horizontally scrollable on small screens only (no effect on large screens). [S1]
|
|
- **Size classes reused from typography** — `w3-tiny` through `w3-jumbo` apply directly to tables too. [S1]
|
|
|
|
## 📖 세부 내용 (Details)
|
|
- Combined striped+bordered+border: `<table class="w3-table w3-striped w3-border">`. [S1]
|
|
- All-in-one: `<table class="w3-table-all">`. [S1]
|
|
- Column-specific alignment: `<th class="w3-center">Points</th>` or `<th class="w3-right-align">Points</th>` — alignment applied per-column, not per-table. [S1]
|
|
- Responsive wrapper: `<div class="w3-responsive"><table class="w3-table-all">...</table></div>`. [S1]
|
|
- Table as a card: `<table class="w3-table-all w3-card-4">`. [S1]
|
|
|
|
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
|
소스에서 모순되는 정보는 발견되지 않음.
|
|
|
|
## 🛠️ 적용 사례 (Applied in summary)
|
|
현재 발견된 실제 적용 사례가 없습니다 — 작은 화면에서만 가로 스크롤되는 반응형 테이블(w3-responsive)이 모바일 대응의 대표 실전 사례다. [S1]
|
|
|
|
## 💻 코드 패턴 (Code patterns)
|
|
Responsive table that scrolls horizontally only on small screens (HTML):
|
|
```html
|
|
<div class="w3-responsive">
|
|
<table class="w3-table-all">
|
|
<!-- table content -->
|
|
</table>
|
|
</div>
|
|
```
|
|
|
|
## ✅ 검증 상태 및 신뢰도
|
|
- **상태:** draft
|
|
- **검증 단계:** conceptual
|
|
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
|
- **신뢰 점수:** 0.89
|
|
- **중복 검사 결과:** 신규 생성 (New discovery)
|
|
|
|
## 🔗 지식 그래프 (Knowledge Graph)
|
|
- **상위/루트:** [[W3.CSS Tutorial]]
|
|
- **관련 개념:** [[W3CSS Alerts]], [[W3CSS Lists]], [[W3CSS Defaults]]
|
|
- **참조 맥락:** 테이블 스타일링 — 리스트(Lists) 챕터로 이어짐.
|
|
|
|
## 📚 출처 (Sources)
|
|
- [S1] W3Schools — W3.CSS Tables — https://www.w3schools.com/w3css/w3css_tables.asp
|
|
|
|
## 📝 변경 이력 (Change history)
|
|
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Tables" page (Astra wiki-curation, P-Reinforce v3.1 format).
|