1cfd3bbb56
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
68 lines
3.6 KiB
Markdown
68 lines
3.6 KiB
Markdown
---
|
|
id: w3css-defaults
|
|
title: "W3CSS Defaults"
|
|
category: "Programming_Language"
|
|
status: "draft"
|
|
verification_status: "conceptual"
|
|
canonical_id: ""
|
|
aliases: ["w3-size classes", "W3.CSS 기본값"]
|
|
duplicate_of: ""
|
|
source_trust_level: "B"
|
|
confidence_score: 0.88
|
|
created_at: 2026-07-04
|
|
updated_at: 2026-07-04
|
|
review_reason: ""
|
|
merge_history: []
|
|
tags: ["w3css", "css-framework", "w3schools", "defaults", "typography"]
|
|
raw_sources: ["https://www.w3schools.com/w3css/w3css_defaults.asp"]
|
|
applied_in: []
|
|
github_commit: ""
|
|
---
|
|
|
|
# [[W3CSS Defaults]]
|
|
|
|
## 🎯 한 줄 통찰 (One-line insight)
|
|
W3.CSS explicitly discourages using headings for their font-SIZE and provides a completely separate `w3-size` class family instead — the source frames this directly: "Headings should be used for what they are: Headings," meaning `<h3>` should signal semantic importance, not just "medium-large text," and `w3-medium`/`w3-large`/etc. exist specifically to decouple visual size from semantic heading level. [S1]
|
|
|
|
## 🧠 핵심 개념 (Core concepts)
|
|
- **Accessibility-oriented base defaults** — 15px font-size, Verdana font (good letter spacing), 1.5 line-height — explicitly designed to be readable even for people with mild reading disabilities. [S1]
|
|
- **Default heading sizes** — h1 36px, h2 30px, h3 24px, h4 20px, h5 18px, h6 16px. [S1]
|
|
- **`w3-size` classes** — `w3-tiny`, `w3-small`, `w3-medium` (default), `w3-large`, `w3-xlarge`, `w3-xxlarge`, `w3-xxxlarge`, `w3-jumbo` — size independent of heading semantics. [S1]
|
|
- **Three override strategies** — (1) override in `<head>` with custom CSS, (2) link your own CSS file AFTER the W3.CSS file, (3) download and directly edit the W3.CSS source file. [S1]
|
|
|
|
## 📖 세부 내용 (Details)
|
|
- Default heading CSS override: `h1{font-size:64px;} h2{font-size:48px;} ...` placed in `<head>`. [S1]
|
|
- Loading a custom CSS file after W3.CSS: `<link rel="stylesheet" href="https://www.w3schools.com/w3css/5/w3.css"> <link rel="stylesheet" href="myStyle.css">`. [S1]
|
|
- Changing the default font globally: `html, body, h1, h2, h3, h4, h5, h6 { font-family: cursive, sans-serif; }`. [S1]
|
|
|
|
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
|
|
- **크기 클래스와 헤딩 태그의 의도적 분리**: 제목 태그는 의미(heading semantics)를 위해, w3-size 클래스는 시각적 크기를 위해 사용하도록 명확히 구분됨. [S1]
|
|
|
|
## 🛠️ 적용 사례 (Applied in summary)
|
|
현재 발견된 실제 적용 사례가 없습니다 — CSS 파일을 W3.CSS 뒤에 로드해 기본값을 재정의하는 것이 커스터마이징의 표준 패턴이다. [S1]
|
|
|
|
## 💻 코드 패턴 (Code patterns)
|
|
Font size decoupled from heading semantics via w3-size classes (HTML):
|
|
```html
|
|
<h3 class="w3-tiny">Small text, still a heading</h3>
|
|
<p class="w3-jumbo">Huge text, not a heading at all</p>
|
|
```
|
|
|
|
## ✅ 검증 상태 및 신뢰도
|
|
- **상태:** draft
|
|
- **검증 단계:** conceptual
|
|
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
|
|
- **신뢰 점수:** 0.88
|
|
- **중복 검사 결과:** 신규 생성 (New discovery)
|
|
|
|
## 🔗 지식 그래프 (Knowledge Graph)
|
|
- **상위/루트:** [[W3.CSS Tutorial]]
|
|
- **관련 개념:** [[W3CSS Cards]], [[W3CSS Fonts]], [[W3CSS Text]]
|
|
- **참조 맥락:** Basics 섹션 마무리 — 폰트(Fonts) 챕터로 이어짐.
|
|
|
|
## 📚 출처 (Sources)
|
|
- [S1] W3Schools — W3.CSS Defaults — https://www.w3schools.com/w3css/w3css_defaults.asp
|
|
|
|
## 📝 변경 이력 (Change history)
|
|
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Defaults" page (Astra wiki-curation, P-Reinforce v3.1 format).
|