--- id: w3css-fonts title: "W3CSS Fonts" category: "Programming_Language" status: "draft" verification_status: "conceptual" canonical_id: "" aliases: ["web safe fonts", "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", "fonts", "typography"] raw_sources: ["https://www.w3schools.com/w3css/w3css_fonts.asp"] applied_in: [] github_commit: "" --- # [[W3CSS Fonts]] ## π― ν μ€ ν΅μ°° (One-line insight) W3.CSS uses TWO different default fonts, not one β Verdana for body text (better letter spacing, readable) but Segoe UI specifically for headings (narrower spacing, fits more characters) β meaning the "default font" question has different answers depending on whether you're styling body copy or a heading. [S1] ## π§ ν΅μ¬ κ°λ (Core concepts) - **Default fonts** β Verdana (body), Segoe UI (headings, narrower spacing). [S1] - **Four built-in font classes** β `w3-serif`, `w3-sans-serif`, `w3-monospace`, `w3-cursive`. [S1] - **Web-safe sans-serif** β Arial (safest, 99.8%/98.7% Win/Mac), Helvetica (100% Mac, only 7.3% Windows), Verdana, Geneva, Tahoma, Trebuchet MS β each with a suggested fallback. [S1] - **Web-safe serif** β Times New Roman (with Times fallback), Georgia. [S1] - **Monospace** β Courier New (safest), Lucida Console (no Mac support) with Monaco as its cross-platform fallback. [S1] - **No universally safe handwriting font** β `w3-cursive` is the recommended fallback since none exists natively. [S1] ## π μΈλΆ λ΄μ© (Details) - Global font override: `body, h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; }`. [S1] - Font class usage: `
...
`, `