CSS Multiple choices


Total available count: 25
Subject - Web Development
Subsubject - CSS

What is the default value of the position property?


 

 

 

 



B


Solution:-

CSS Position:-
The position property defines how an element will be positioned on a web page.

Static Positioning
A static positioned element is always positioned according to the normal flow of the web page. The static positioned elements are not affected by the left, top, right, bottom, and z-index properties.

Example:-

.static-box {
  padding: 20px;
  background: #7dc765;
}

HTML elements are positioned static by default. So declaration is not required for position static.




Next 2 multiple choice(s)

1

What happens if you open the external CSS file in a browser?

2

What does CSS stand for?

Comments