MockQuestions

Web Developer Mock Interview

Question 22 of 30 for our Web Developer Mock Interview

Web Developer was updated by on August 5th, 2021. Learn more here.

Question 22 of 30

What are the five possible values for position for elements in a web page?

"The position properties in CSS dictate how the browser arranges the elements on a webpage. Five different values dictate the page layout. These are static, relative, fixed, absolute, and inherit. Some of the values allow the elements to reposition themselves depending on changes within the web page or different browsers or platforms. These fix their positions relative to the borders of the page."

Next Question

How to Answer: What are the five possible values for position for elements in a web page?

Advice and answer examples written specifically for a Web Developer job interview.

  • 22. What are the five possible values for position for elements in a web page?

      How to Answer

      This technical question is similar to the previous one. Interviewers will often ask about topics in several different ways to confirm your understanding of the topic they are curious about. You may also encounter multiple interviews or group interviews in which each person you speak with will ask you the same question but in a different manner. If this occurs, it indicates that the topic they are asking about is important to the job you will be doing. This also gives you clues as to follow-up or subsequent questions you can expect.

      Written by William Swansen on August 5th, 2021

      Answer Example

      "The position properties in CSS dictate how the browser arranges the elements on a webpage. Five different values dictate the page layout. These are static, relative, fixed, absolute, and inherit. Some of the values allow the elements to reposition themselves depending on changes within the web page or different browsers or platforms. These fix their positions relative to the borders of the page."

      Written by William Swansen on August 5th, 2021

      Experienced

      "Elements are placed within a web page using the position command within CSS. The values used by position are relative, fixed, inherent, static, and absolute. All but fixed and static use the borders of the page to move the element's position if changes occur in the page and depend on which browser and which platform the viewer is using."

      Written by William Swansen on August 5th, 2021