Replaced elements
In web development,replaced elements are HTML elements whose content are replaced by external resources or content defined outside of the document structure, and are not considered in the CSS rendering model. They are external objects whose representation is independent of the CSS formatting model.
The following can be replaced elements:
The following are treated as replaced elements only in specific cases:
Replaced elements often have anintrinsic dimensions andintrinsic ratio. For example, the content of an<img> element is generally replaced by the image defined by itssrc attribute. That image has an intrinsic width and an intrinsic height specified in absolute units, which determines the aspect ratio.
Form controls are generally non-replacedwidgets, except for<input type="image">, which is replaced with an image. Objects inserted using the CSScontent property areanonymous replaced elements. They are "anonymous" because they don't exist in the HTML markup.