CSS Object (or Replaced elements)

About

An object in CSS is a super type and represents the following subtype:

They are also called replaced element. Because, for instance, the content of the HTML IMG element is replaced by the image that its src attribute designates.

Intrinsic Dimensions

They have intrinsic dimensions:

  • an intrinsic width,
  • an intrinsic height,
  • and an intrinsic ratio.

Property

To size (position) properly an object, you can use this two properties:

Documentation / Reference





Discover More
Boxdim
CSS - Background (Image)

The background of an element is the total size of the element: including padding and border but not the margin. The margin is transparent. When two element overlap, you can send one element to...
CSS - Image

The image type in CSS is given: a url that specifies: binary / raster image formats (such as gif, jpeg, etc) dedicated markup formats (such as SVG) or a gradient function (such as linear-gradient...
HTML - Object Element (External Content)

An object represents an external resource which depending on the type of the resource, will either be treated as: an image a child / nested browsing context, or as an external resource to be...



Share this page:
Follow us:
Task Runner