MDN self-hosted library · e01.org

Largest Contentful Paint (LCP)

The Largest Contentful Paint (LCP) performance metric provides the render time of the largest image or text block visible within the viewport, recorded from when the page first begins to load.

no runnable cells glossary-definition upstream source

The Largest Contentful Paint (LCP) performance metric provides the render time of the largest image or text block visible within the viewport, recorded from when the page first begins to load.

The following elements are considered contentful when determining the LCP:

  • img elements.
  • image elements inside an SVG.
  • The poster images of video elements.
  • Elements with a background-image.
  • Groups of text nodes, such as p.

See also