Practical CSS3 Mastery Course - CSS Position Property

Practical CSS3 Mastery Course - CSS Position Property

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of creating a folder and setting up HTML elements in the initial steps?

To organize files for a JavaScript project

To prepare the environment for CSS positioning practice

To create a database for storing CSS properties

To set up a server for hosting a website

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to arrange elements side by side?

Display: block

Display: inline

Display: inline-block

Display: flex

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many different values can the CSS position property have?

Six

Five

Four

Three

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when an element is given a position of 'absolute'?

It sticks to a specified position when scrolling

It becomes fixed to the viewport

It moves relative to its nearest positioned ancestor

It follows the normal document flow

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default position value for HTML elements?

Absolute

Relative

Static

Fixed

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which position value allows an element to move from its normal position by specified offsets?

Fixed

Relative

Static

Absolute

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect of setting an element's position to 'fixed'?

It stays in place even when scrolling

It sticks to a specified position when scrolling

It moves relative to its parent

It follows the normal document flow

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?