Search test library by skills or roles
⌘ K

Adaface Sample HTML/CSS Questions

Here are some sample HTML/CSS questions from our premium questions library (10273 non-googleable questions).

Skills

🧐 Question

Easy

Background Properties
Solve
Consider the following shorthand CSS example:
            
            background: #f7f7f7 url(jolie.jpg) no-repeat scroll 0px 0px;
            
            Which of the following show the individual background properties represented by the shorthand:
 image

Easy

Colorful sentences
Solve
Our intern is writing a colorful blog post, and has written the following code. What colors will the sentences be?
 image
A: Sentence 1 will be gray, Sentence 2 will be pink.
            B: Both sentences will be gray.
            C: Sentence 1 will be pink, Sentence 2 will be gray.
            D: Both sentences will be pink.
            E: The code does not make sense; will throw an error.

Easy

Links
Solve
In the following HTML, what will be the color of link with class "mark"
 image

Medium

Let's Hack
CSS Property
Solve
Consider the following HTML and CSS:
 image
 image
Which additional CSS rule(s) will render the following image? Choose ALL that apply.
 image
A:
            div{
              flex-direction : column;
              align-items : center;
            }
B:
            div{
              flex-direction : row;
              align-items: center;
            }
C:
            div{
              flex-direction: column;
              justify-content: center;
            }
D:
            div{
              flex-direction: row;
              justify-content: center;
            }
🧐 Question🔧 Skill

Easy

Background Properties

2 mins

HTML/CSS
Solve

Easy

Colorful sentences

2 mins

HTML/CSS
Solve

Easy

Links

2 mins

HTML/CSS
Solve

Medium

Let's Hack
CSS Property

3 mins

HTML/CSS
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Background Properties
HTML/CSS
Easy2 mins
Solve
Colorful sentences
HTML/CSS
Easy2 mins
Solve
Links
HTML/CSS
Easy2 mins
Solve
Let's Hack
CSS Property
HTML/CSS
Medium3 mins
Solve

Trusted by recruitment teams in enterprises globally

Amazon Morgan Stanley Vodafone United Nations HCL PayPal Bosch WeWork Optimum Solutions Deloitte Microsoft NCS Doubtnut Sokrati J&T Express Capegemini

We evaluated several of their competitors and found Adaface to be the most compelling. Great library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
customers across world
Join 1200+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
logo
40 min tests.
No trick questions.
Accurate shortlisting.
ada
Ada
● Online
Previous
Score: NA
Next
✖️