11 KiB
| title | chunk | source | category | tags | date_saved | instance |
|---|---|---|---|---|---|---|
| Leading - Glossary | MDN | 1/3 | https://developer.mozilla.org/en-US/docs/Glossary/Leading | reference | web, html, css, javascript, documentation | 2026-05-05T05:36:35.111107+00:00 | kb-cron |
MDN HTML HTML: Markup language
HTML reference
HTML guides
Markup languages
CSS reference
CSS guides
Layout cookbook
JavaScriptJS JavaScript: Scripting language
JS reference
JS guides
Web APIs Web APIs: Programming interfaces
Web API reference
Web API guides
- Using the Web animation API
- Using the Fetch API
- Working with the History API
- Using the Web speech API
- Using web workers
Technologies
Topics
Learn Learn web development
Frontend developer course
- Getting started modules
- Core modules
- MDN Curriculum
- Check out the video course from Scrimba, our partner
Learn HTML
Learn CSS
Learn JavaScript
Tools Discover our tools
About Get to know MDN better
Leading
In typography, leading is an amount of space included above and below text to provide spacing between lines. Historically, in physical typesetting, pieces of actual lead were used to implement this spacing, which is where the name comes from.
In CSS, typographic leading is the difference between the content height and the line-height, generally set by the line-height property. Leading set via line-height provides spacing between lines, which can be negative. The space is distributed equally above and below the text, which is referred to as half-leading.
The area of a font above the cap baseline is referred to as the over edge. The area below the alphabetic baseline is referred to as the under edge. Likewise, the half-leading above and below a line is referred to as the over leading and under leading , respectively.
The half-leading can be trimmed from the block-start edge and block-end edge of a text element's block container using the text-box properties.
In this article
See also
line-heighttext-box- CSS inline layout module
- Leading on Wikipedia
- The Thing With Leading in CSS on matthiasott.com (2022)