Files
2nd/10_Wiki/Topics/Topic_Programming/Topic_W3CSS/W3CSS_Badges.md
T
Antigravity Agent 9a135bd19d docs(10_Wiki): Topic_Business/General/Graphic/Programming을 Topics/ 하위로 이동
최상위 10_Wiki/Topic_*였던 4개 카테고리 폴더를 10_Wiki/Topics/Topic_* 로 재배치.
콘텐츠 변경 없음(순수 폴더 이동) — Topics/ 하위 나머지 폴더는 이미 지난 커밋에서
전부 정리된 상태(잔존 항목은 에이전트 운영 상태 및 사용자가 보존을 요청한
업데이트0615/무제 3.canvas 뿐).
2026-07-05 00:44:01 +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).