MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

Esta tradução está incompleta. Por favor, ajude a traduzir este artigo.

Sumario

In CSS, a replaced element is an element whose representation is outside the scope of CSS. These are a type of external object whose representation is independent of the CSS. Typical replaced elements are:

Some elements are treated as replaced elements only in specific cases:

The only form control that is also a replaced element is <input> of the image type. All other form controls are non-replaced elements.

Objects inserted using the CSS content properties are anonymous replaced elements.

CSS handles replaced elements specifically in some cases, like when calculating margins and some auto values.

Note that some replaced elements, but not all, have intrinsic dimensions or a defined baseline, which is used by some CSS properties like vertical-align.

Veja também

Etiquetas do documento e colaboradores

 Colaboradores desta página: FLR
 Última atualização por: FLR,