
Modern HTML and CSS from the Beginning (Including Sass) - Em & Rem Units
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary difference between M and R.E.M units?
Both M and R.E.M units are relative to the parent element.
Both M and R.E.M units are relative to the root element.
M units are relative to the root element, while R.E.M units are relative to the parent element.
M units are relative to the parent element, while R.E.M units are relative to the root element.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the default font size of the root HTML element?
10 pixels
12 pixels
14 pixels
16 pixels
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If the font size of a parent element is 20 pixels, what would be the computed font size of a child element set to 1.5M?
25 pixels
15 pixels
30 pixels
20 pixels
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might M units be confusing when used with padding?
Padding is not affected by M units.
Padding is calculated based on the viewport size.
Padding is always calculated based on the root element.
Padding is calculated based on the element's own font size, not the parent.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key advantage of using R.E.M units over M units?
R.E.M units are easier to calculate than pixels.
R.E.M units are always based on the root element, making them more consistent.
R.E.M units are always based on the parent element.
R.E.M units are not affected by browser settings.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How does changing the root element's font size affect R.E.M units?
It does not affect R.E.M units.
It changes the size of elements using R.E.M units proportionally.
It only affects the padding of elements.
It only affects elements using M units.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a common practice to make R.E.M units easier to calculate?
Setting the root font size to 16 pixels.
Avoiding the use of any relative units.
Setting the root font size to 10 pixels or 62.5%.
Using M units instead of R.E.M units.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?