kb/data/developer.mozilla.org/en-US/docs/Glossary/Leading-0.md

11 KiB
Raw Blame History

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 CSS: Styling language

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

All All web technology

Technologies

Topics

Learn Learn web development

Frontend developer course

Learn HTML

Learn CSS

Learn JavaScript

Tools Discover our tools

About Get to know MDN better

Blog

  1. Glossary
  2. Leading

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