Hide an Element – display:none or visibility:hidden? Hiding an element can be done by setting the display property to none. The element will be hidden, and the page will be displayed as if the element is not there: Example h1.hidden { display: none; } visibility:hidden;…Read more
position: static; HTML elements are positioned static by default. Static positioned elements are not affected by the top, bottom, left, and right properties. An element with position: static; is not positioned in any special way; it is always positioned according to the normal flow of…Read more
MARGIN: With CSS, you have full control over the margins. There are properties for setting the margin for each side of an element (top, right, bottom, and left). The CSS margin properties are used to create space around elements, outside of any defined borders. CSS…Read more
BORDER: The CSS border properties allow you to specify the style, width, and color of an element’s border. Border Style: The border-style property specifies what kind of border to display. The following values are allowed: dotted – Defines a dotted border dashed – Defines a…Read more