Files
2nd/10_Wiki/Dev/Topic_W3CSS/W3CSS_Icons.md
T
Antigravity Agent 1cfd3bbb56 docs(10_Wiki): 위키 구조 정리 — 언어 튜토리얼 카테고리 폴더 제거 + 신규 자산 동기화
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고,
Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
2026-07-05 00:10:59 +09:00

71 lines
3.9 KiB
Markdown

---
id: w3css-icons
title: "W3CSS Icons"
category: "Programming_Language"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["Font Awesome", "Material Icons", "Bootstrap Icons", "W3.CSS 아이콘"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.87
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["w3css", "css-framework", "w3schools", "icons"]
raw_sources: ["https://www.w3schools.com/w3css/w3css_icons.asp"]
applied_in: []
github_commit: ""
---
# [[W3CSS Icons]]
## 🎯 한 줄 통찰 (One-line insight)
W3.CSS has NO icon system of its own — it's explicitly framework-agnostic here, supporting Font Awesome, Google Material Icons, and Bootstrap Icons interchangeably, each via a completely different markup convention (`<i class="fa fa-home">` vs. `<i class="material-icons">home</i>` vs. `<i class="glyphicon glyphicon-home">`), meaning the icon syntax you use depends entirely on which external CDN you chose to link, not on W3.CSS. [S1]
## 🧠 핵심 개념 (Core concepts)
- **Two-step integration** — (1) link the icon library's CSS from a CDN in `<head>`, (2) add the icon's class name to an inline element (`<i>` or `<span>` are conventional). [S1]
- **Font Awesome syntax** — class-name-based: `<i class="fa fa-home"></i>`. [S1]
- **Material Icons syntax** — TEXT-content-based: `<i class="material-icons">home</i>` (the icon name is the element's text, not a class suffix). [S1]
- **Bootstrap Icons (glyphicons) syntax** — class-name-based like Font Awesome: `<i class="glyphicon glyphicon-home"></i>`. [S1]
- **Sizing via `w3-size` classes** — the same `w3-tiny` through `w3-jumbo` classes used elsewhere apply directly to icons too. [S1]
## 📖 세부 내용 (Details)
- Font Awesome setup: `<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <i class="fa fa-home"></i>`. [S1]
- Material Icons setup (note: icon name as TEXT, not class): `<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <i class="material-icons">home</i>`. [S1]
- Bootstrap Icons setup: `<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <i class="glyphicon glyphicon-home"></i>`. [S1]
## ⚖️ 모순 및 업데이트 (Contradictions & updates)
- **아이콘 라이브러리별 문법 차이**: Font Awesome/Bootstrap은 클래스명으로, Material Icons는 요소의 텍스트 내용으로 아이콘을 지정한다는 점이 세 예제의 직접 비교로 명확히 드러남. [S1]
## 🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — 세 아이콘 라이브러리 중 하나를 선택해 홈/검색/삭제 아이콘을 표시하는 것이 실전 UI 아이콘 사용의 표준 패턴이다. [S1]
## 💻 코드 패턴 (Code patterns)
Material Icons uses text content, not a class suffix, unlike Font Awesome (HTML):
```html
<!-- Font Awesome: icon name is part of the class -->
<i class="fa fa-home"></i>
<!-- Material Icons: icon name is the element's text content -->
<i class="material-icons">home</i>
```
## ✅ 검증 상태 및 신뢰도
- **상태:** draft
- **검증 단계:** conceptual
- **출처 신뢰도:** B (W3Schools — widely used educational reference, not a primary standards body)
- **신뢰 점수:** 0.87
- **중복 검사 결과:** 신규 생성 (New discovery)
## 🔗 지식 그래프 (Knowledge Graph)
- **상위/루트:** [[W3.CSS Tutorial]]
- **관련 개념:** [[W3CSS Tags]], [[W3CSS Grid]], [[W3CSS Defaults]]
- **참조 맥락:** Badges & Icons 섹션의 마지막 — 그리드(Grid) 챕터로 이어짐.
## 📚 출처 (Sources)
- [S1] W3Schools — W3.CSS Icons — https://www.w3schools.com/w3css/w3css_icons.asp
## 📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Icons" page (Astra wiki-curation, P-Reinforce v3.1 format).