This element is centered by margin property
This element and text align is center
This element align is horizontally center and text align is right
This text is aligned vertically center by using the padding property
This text is aligned vertically and horizontally center
This text is aligned vertically and horizontally center
This text is aligned vertically and horizontally center
This image is aligned left by using the float property
This image is aligned right by using the float property
This text is aligned center by using the line-height property
This text is aligned center by using position and transform property
d-selector represent the decendent selector.
desendent selector of div element
this is desendent but not a child elememt of the div
c-selector represent the child selector
this is direct child element of div element
this p element is desecendent what not child element of div
this one also child element of div element
this p element is child of div
this is adjacent sibling element of div
this element have no change because it is not adjacent sibling element
g-sibling represent the general sibling element
this is direct child element of div
general sibling elemnt of div
this is a paragraph
this is general sibling element