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

Medium

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

Options:

  • A
  • B
  • C
  • D

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.
                                    

Options:

  • A
  • B
  • C
  • D
  • E

Medium

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

Options:

  • orange
  • black
  • blue
  • white

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;
            }
                                    

Options:

  • AC
  • BD
  • ABC
  • AD
  • BC
  • CD
  • ABCD
  • None
🧐 Question🔧 Skill

Medium

Background Properties
2 mins
HTML/CSS
Solve

Easy

Colorful sentences
2 mins
HTML/CSS
Solve

Medium

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
Medium2 minsSolve
Colorful sentences
HTML/CSS
Easy2 minsSolve
Links
HTML/CSS
Medium2 minsSolve
Let's Hack
CSS Property
HTML/CSS
Medium3 minsSolve

Adaface questions are trusted by 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 default library of questions that are designed to test for fit rather than memorization of algorithms.


Swayam Narain, CTO, Affable

hashtag image heart icon Swayam
Join 1200+ companies in 75+ countries.
Prova det mest kandidatvänliga utvärderingsverktyget idag.
Ready to streamline your recruitment efforts with Adaface?
Ready to streamline your recruitment efforts with Adaface?
chatta med oss
40 min tests.
No trick questions.
Accurate shortlisting.