Files
2nd/10_Wiki/Dev/Topic_W3CSS/W3CSS_Badges.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

3.4 KiB

id, title, category, status, verification_status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, created_at, updated_at, review_reason, merge_history, tags, raw_sources, applied_in, github_commit
id title category status verification_status canonical_id aliases duplicate_of source_trust_level confidence_score created_at updated_at review_reason merge_history tags raw_sources applied_in github_commit
w3css-badges W3CSS Badges Programming_Language draft conceptual
w3-badge
UTF-8 badges
W3.CSS 배지
B 0.87 2026-07-04 2026-07-04
w3css
css-framework
w3schools
badges
https://www.w3schools.com/w3css/w3css_badges.asp

W3CSS Badges

🎯 한 줄 통찰 (One-line insight)

W3.CSS provides exactly ONE badge class (w3-badge, circular black by default) and achieves every visual variation — colored, sized, positioned inside buttons/lists/tables — purely through combination with OTHER existing classes (w3-color, w3-size, w3-right, w3-margin-*), rather than offering dozens of badge-specific variants. [S1]

🧠 핵심 개념 (Core concepts)

  • w3-badge — the ONLY badge class; circular, black by default. [S1]
  • Color via compositionw3-badge w3-green, w3-badge w3-red, etc. [S1]
  • Size inheritance — a badge inherits its container's font size by default; w3-size classes override it. [S1]
  • Right-aligned list badgesw3-right (float) + w3-margin-right positions a badge at the end of a list item. [S1]
  • UTF-8 Dingbat alternative — single-digit circled numerals (❶❷❸...➉) via Unicode escapes as a badge-free alternative for simple counters. [S1]

📖 세부 내용 (Details)

  • Basic badge: <p>Updates <span class="w3-badge">9</span></p>. [S1]
  • Colored: <p>News <span class="w3-badge w3-green">6</span></p>. [S1]
  • In a button: <button class="w3-btn w3-black">Button <span class="w3-badge w3-margin-left w3-white">1</span></button>. [S1]
  • Right-aligned in a list: <li>Jill <span class="w3-badge w3-right w3-margin-right">1</span></li>. [S1]
  • UTF-8 dingbat numerals: &#x2776; &#x2777; &#x2778; (❶ ❷ ❸) inside a w3-xxlarge div. [S1]

⚖️ 모순 및 업데이트 (Contradictions & updates)

소스에서 모순되는 정보는 발견되지 않음.

🛠️ 적용 사례 (Applied in summary)

현재 발견된 실제 적용 사례가 없습니다 — 리스트 항목 끝에 우측 정렬된 배지를 붙이는 것이 카운터/알림 표시의 대표 실전 사례다. [S1]

💻 코드 패턴 (Code patterns)

Right-aligned badge in a list item (HTML):

<ul class="w3-ul w3-border">
  <li>Jill <span class="w3-badge w3-right w3-margin-right">1</span></li>
  <li>Eve <span class="w3-badge w3-right w3-margin-right">2</span></li>
</ul>

검증 상태 및 신뢰도

  • 상태: draft
  • 검증 단계: conceptual
  • 출처 신뢰도: B (W3Schools — widely used educational reference, not a primary standards body)
  • 신뢰 점수: 0.87
  • 중복 검사 결과: 신규 생성 (New discovery)

🔗 지식 그래프 (Knowledge Graph)

📚 출처 (Sources)

📝 변경 이력 (Change history)

  • 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Badges" page (Astra wiki-curation, P-Reinforce v3.1 format).