Largest contentful paint
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 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>
.