47
QuizMultiple Choice

Unit Test — Unit test

Question 47 • Introduction to Information Technology - EL3701 A

What should a web page designer consider when choosing between fixed positioning and absolute positioning?

Answer
A
Fixed positioning is the HTML default element flow, while absolute positioning is relative to the browser window.
B
Fixed positioning is an offset placement from the normal element layout, while absolute positioning is the HTML default element flow.
C
Fixed positioning is relative to the browser window, while absolute positioning is located at a specific place on a web page.
D
Fixed positioning is located at a specific place on a web page window, while absolute positioning is an offset placement from the normal element layout.

Explanation

Fixed-positioned elements are positioned relative to the browser’s viewport, so they stay in the same place when the page is scrolled. Absolutely positioned elements are placed at specific coordinates relative to their nearest positioned ancestor (or the page if there is none). Therefore, the correct choice is “Fixed positioning is relative to the browser window, while absolute positioning is located at a specific place on a web page.”

AI-written and checked against the verified answer.

Previous
Next