Files
2nd/10_Wiki/Topic_CSS/CSS_Font_Family.md
T
koriweb 9609c04755 docs(10_Wiki): W3Schools 위키화 — HTML/CSS/JavaScript(core)
W3Schools 튜토리얼을 P-Reinforce v3.1 포맷으로 위키화(영어 본문, 한/영 섹션 헤더).
- Topic_HTML: 59문서 (튜토리얼+예제, 레퍼런스/메타 제외)
- Topic_CSS: 190문서 (메인 + Advanced/Flexbox/Grid/RWD 전체)
- Topic_JavaScript: 120문서 (코어 언어; Temporal/DOM상세/BOM/WebAPI/AJAX/jQuery/Graphics 등은 후속)
각 폴더 00_INDEX.md(MOC) 포함. 코드 verbatim, 미확인분은 "Not found in source" 표기.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 19:21:18 +09:00

5.3 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
css-font-family CSS Font Family Frontend draft conceptual
font-family
CSS fonts
generic font family
font fallback
typeface CSS
B 0.89 2026-06-23 2026-06-23
css
web
frontend
w3schools
fonts
typography
https://www.w3schools.com/css/css_font.asp

CSS Font Family

🎯 한 줄 통찰 (One-line insight)

The font-family property sets the typeface for text and should list several comma-separated font names as a fallback system, always ending with a generic family so the browser can pick the best available font. [S1]

🧠 핵심 개념 (Core concepts)

  • Font selection matters — choosing the right font has a huge impact on how readers experience a website; pick fonts that are easy to read with appropriate colors and sizes. [S1]
  • font-family property — specifies the font(s) for an element. [S1]
  • Fallback systemfont-family should contain multiple font names so the browser can fall back if a font is unavailable. [S1]
  • Comma-separated — font names are separated by commas. [S1]
  • Quote multi-word names — font names made of more than one word require quotation marks. [S1]
  • End with a generic family — always end the list with a generic font family. [S1]

🧩 추출된 패턴 (Extracted patterns)

  • Fallback stack — list specific fonts first, then progressively safer ones, ending in a generic family: "Times New Roman", Times, serif. [S1]
  • Generic family classification — group typefaces into five generic families: serif, sans-serif, monospace, cursive, fantasy. [S1]

📖 세부 내용 (Details)

Font Selection is Important — Choosing the right font has a huge impact on how the readers experience a website. The page stresses selecting fonts that are easy to read with appropriate colors and sizes. [S1]

The CSS font-family Property — The font-family property specifies the font for an element. It should contain multiple font names as a "fallback" system: if the browser does not support the first font, it tries the next one. Font names are separated by commas, multi-word font names require quotation marks, and the list should always end with a generic family. [S1]

Example with three fallback stacks: [S1]

.p1 {
  font-family: "Times New Roman", Times, serif;
}

.p2 {
  font-family: Arial, Helvetica, sans-serif;
}

.p3 {
  font-family: "Lucida Console", "Courier New", monospace;
}

CSS Generic Font Families — five categories are listed: [S1]

  1. Serif fonts — formal and elegant.
  2. Sans-serif fonts — modern and minimalistic.
  3. Monospace fonts — mechanical appearance.
  4. Cursive fonts — imitate handwriting.
  5. Fantasy fonts — decorative / playful.

Font examples by generic family: [S1]

Generic Family Examples
Serif Times New Roman, Georgia, Garamond
Sans-serif Arial, Verdana, Helvetica
Monospace Courier New, Lucida Console, Monaco
Cursive Brush Script MT, Lucida Handwriting
Fantasy Copperplate, Papyrus

Note: Sans-serif fonts are considered easier to read than serif fonts on computer screens. [S1]

🛠️ 적용 사례 (Applied in summary)

The page's example applies three different fallback stacks to three paragraph classes (.p1, .p2, .p3), each anchored by a different generic family (serif, sans-serif, monospace). No external project/commit applications found in the source.

💻 코드 패턴 (Code patterns)

Fallback stack pattern (language: CSS):

selector {
  font-family: "Specific Font", FallbackFont, generic-family;
}

Concrete example:

.p2 {
  font-family: Arial, Helvetica, sans-serif;
}

⚖️ 비교 및 선택 기준 (Comparison & decision criteria)

The five generic families serve different stylistic intents: serif (formal/elegant), sans-serif (modern/minimalistic), monospace (mechanical, fixed-width), cursive (handwriting imitation), and fantasy (decorative/playful). Per the source note, sans-serif fonts are considered easier to read than serif fonts on screens, which guides the choice for body text on the web. [S1]

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

No contradictions found in the source.

검증 상태 및 신뢰도

  • 상태: draft
  • 검증 단계: conceptual (실제 적용 사례 발견 시 applied/validated로 승격 가능)
  • 출처 신뢰도: B (W3Schools — widely used educational reference, not a primary standards body)
  • 신뢰 점수: 0.89
  • 중복 검사 결과: 신규 생성 (New discovery)

🔗 지식 그래프 (Knowledge Graph)

📚 출처 (Sources)

📝 변경 이력 (Change history)

  • 2026-06-23: Initial draft synthesized from the W3Schools "CSS Font Family" page (Astra wiki-curation, P-Reinforce v3.1 format).