Search test library by skills or roles
⌘ K

HTML/ CSS Online Test

About the test:

The HTML/ CSS test evaluates a candidate's ability to create web pages and style them using CSS. Using scenario-based MCQ questions, it evaluates knowledge of HTML (DOM, tags, forms, tables etc.) and critical CSS concepts (box model, positioning, styling, Flexbox, Grid etc.) and the ability to build responsive layouts. The test also includes simple coding questions to evaluate hands-on programming knowledge.

Covered skills:

  • Core HTML tags
  • Core CSS (box model; inheritance; specificity)
  • Handling HTML forms
  • Styling HTML elements with CSS
See all covered skills

9 reasons why
9 reasons why

Adaface HTML/ CSS Online Test is the most accurate way to shortlist Web Developers



Reason #1

Tests for on-the-job skills

HTML/ CSS online assessment test is designed and validated by industry experts to help tech recruiters and hiring managers to assess the HTML/ CSS programming skills of the candidate. Top tech companies are using our HTML/ CSS programming test to reduce candidate screening time by 85%.

The test ensures candidates have the following traits:

  • Knowledge of core HTML tags and CSS properties
  • Ability to create responsive HTML with modern layouts- Grids, Flexbox
  • Knowledge of how CSS works behind the scenes
  • Styling HTML elements with CSS to be closer to design mockups
  • Handling images, fonts, videos in HTML
  • Creating readable and scaleable HTML and CSS code
  • Understanding JS DOM manipulation
  • Hands-on JavaScript programming language
Reason #2

No trick questions

Traditional assessment tools use trick questions and puzzles for the screening, which creates a lot of frustration among candidates about having to go through irrelevant screening assessments.

The main reason we started Adaface is that traditional pre-employment assessment platforms are not a fair way for companies to evaluate candidates. At Adaface, our mission is to help companies find great candidates by assessing on-the-job skills required for a role.

Why we started Adaface ->
Reason #3

Non-googleable questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

These are just a small sample from our library of 10,000+ questions. The actual questions on this HTML/CSS Online Test will be non-googleable.

🧐 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

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.

Medium

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

Easy

Registration Queue
Logic
Solve
We want to register students for the next semester. All students have a receipt which shows the amount pending for the previous semester. A positive amount (or zero) represents that the student has paid extra fees, and a negative amount represents that they have pending fees to be paid. The students are in a queue for the registration. We want to arrange the students in a way such that the students who have a positive amount on the receipt get registered first as compared to the students who have a negative amount. We are given a queue in the form of an array containing the pending amount.
For example, if the initial queue is [20, 70, -40, 30, -10], then the final queue will be [20, 70, 30, -40, -10]. Note that the sequence of students should not be changed while arranging them unless required to meet the condition.
⚠️⚠️⚠️ Note:
- The first line of the input is the length of the array. The second line contains all the elements of the array.
- The input is already parsed into an array of "strings" and passed to a function. You will need to convert string to integer/number type inside the function.
- You need to "print" the final result (not return it) to pass the test cases.

For the example discussed above, the input will be:
5
20 70 -40 30 -10

Your code needs to print the following to the standard output:
20 70 30 -40 -10

Medium

Longest Road
logic
hashmaps
Solve
A startup company E-Motors is building driverless automated cars. The car contains a sensor that checks the road quality for the next N meters to decide the optimal speed at which the cars should move. We are given recorded data by the sensor in the form of an array, where each element of the array is the rating given to 1 meter of the road in sequence. 

The rating given by the sensor is from 1 to 100, where 100 represents the road with the best condition, and any rating above 60 is optimal. Find the longest stretch of road in meters that is categorized as optimal by the sensor.

The input is an array of "strings" which needs to be converted from string to integer/number inside the function.

Medium

Visitors Count
Strings
Solve
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order. 
Example:

Input:
WWMMWWCCC

Expected Output: 
4W3C2M

Explanation: 
‘W’ has the highest count, then ‘C’, then ‘M’. 
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
🧐 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

Easy

Registration Queue
Logic
30 mins
Coding
Solve

Medium

Longest Road
logic
hashmaps
25 mins
Coding
Solve

Medium

Visitors Count
Strings
30 mins
Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Background Properties
HTML/CSS
Medium2 mins
Solve
Colorful sentences
HTML/CSS
Easy2 mins
Solve
Links
HTML/CSS
Medium2 mins
Solve
Let's Hack
CSS Property
HTML/CSS
Medium3 mins
Solve
Registration Queue
Logic
Coding
Easy30 minsSolve
Longest Road
logic
hashmaps
Coding
Medium25 minsSolve
Visitors Count
Strings
Coding
Medium30 minsSolve
Reason #4

1200+ customers in 75 countries

Brandon

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!


Brandon Lee, Head of People, Love, Bonito

Reason #5

Designed for elimination, not selection

The most important thing while implementing the pre-employment HTML/CSS Online Test in your hiring process is that it is an elimination tool, not a selection tool. In other words: you want to use the test to eliminate the candidates who do poorly on the test, not to select the candidates who come out at the top. While they are super valuable, pre-employment tests do not paint the entire picture of a candidate’s abilities, knowledge, and motivations. Multiple easy questions are more predictive of a candidate's ability than fewer hard questions. Harder questions are often "trick" based questions, which do not provide any meaningful signal about the candidate's skillset.

Reason #6

1 click candidate invites

Email invites: You can send candidates an email invite to the HTML/CSS Online Test from your dashboard by entering their email address.

Public link: You can create a public link for each test that you can share with candidates.

API or integrations: You can invite candidates directly from your ATS by using our pre-built integrations with popular ATS systems or building a custom integration with your in-house ATS.

Reason #7

Detailed scorecards & comparative results

Reason #8

High completion rate

Adaface tests are conversational, low-stress, and take just 25-40 mins to complete.

This is why Adaface has the highest test-completion rate (86%), which is more than 2x better than traditional assessments.

Reason #9

Advanced Proctoring


How do you customize the test for Senior Frontend developers?

The questions for Senior developers will involve advanced topics and will be of higher difficulty level. Here are few topics the questions will be based on for intermediate and experienced web developers:

  • In-depth knowledge of how CSS works behind the scenes: the cascade, specificity, inheritance, value processing, the visual formatting model, the box model, box types, positioning schemes, and stacking contexts
  • Responsive images in HTML and CSS for faster page loads: resolution switching, density switching, art direction;
  • DOM manipulation using JS
  • Advanced CSS selectors, pseudo-classes, and pseudo-elements
  • Advanced CSS animations with @keyframes, animation and transition
  • JS-based animations
  • SVG images in HTML and CSS: how and why to use SVG, generating SVG sprites, changing SVG colors in CSS and best practices;
  • Advanced responsive design: media queries, mobile-first vs desktop-first, em vs rem units, fluid grids, layout types, flexible images, using media queries to test for different screen widths, pixel densities, and touch capabilities
  • Modern CSS techniques to create stunning designs: clip-path, background-clip, mask-image, background-blend-mode, shape-outside, filter, backdrop-filter, object-fit, transform, column-count, hyphens, perspective, calc() and custom CSS properties;

Additionally, the coding questions used to evaluate JavaScript skills will be of higher difficulty level.

What roles can I use the HTML/CSS Online Test for?

  • Web Developer
  • Frontend Software Developer
  • Senior HTML Web Developer
  • Front-end Developer
  • Software Engineer (HTML/ CSS)
  • Senior Frontend Developer
  • Web Designer

What topics are covered in the HTML/ CSS Online Test?

Core HTML Tags
The Structure of an HTML Page
Spacing
Text Formatting & Decoration
Lists
Tables
Images & Background Images
Flexbox
Grid
Box model
Positioning schemes
Inheritance
Media queries
CSS Properties
Pseudo-classes
Classes, Spans, Divisions
Text Properties, Margins, & Padding
Borders, Backgrounds, & Transparency
Positioning - Relative, Absolute, Fixed, Float, Clear
Z-Index
Transitions
Animations
Responsive layouts
Embedding Videos
Anchors/ Links
Tables & Nested Tables
Building Forms
Embedding Iframes
SVGs
File Referencing
Buttons
Input Areas
Select Menus
Navigation
Fonts
Forms
Pre-processors
Singapore government logo

The hiring managers felt that through the technical questions that they asked during the panel interviews, they were able to tell which candidates had better scores, and differentiated with those who did not score as well. They are highly satisfied with the quality of candidates shortlisted with the Adaface screening.


85%
reduction in screening time

HTML/CSS Online Test FAQs

About HTML/ CSS Job Roles

HTML (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation (CSS) or functionality/behavior (JavaScript).

HTML developers are responsible for the complete end-to-end coding of websites. They provide technical support to users, direct projects, code websites, develop web-based applications, and perform testing on websites. They work with other coders, designers and content developers, which means that communication skills are important. HTML developers must be able to translate designs into code and write technical documentation.

CSS developers are web professionals whose primary responsibility is to deliver a polished and styled product to a user's browser. Almost every website uses CSS. Most frontend or even full-stack developers could write the CSS code. But not all of them can fix every CSS bug or implement designs without convoluting HTML code or relying on JavaScript unnecessarily.

A HTML/ CSS Developer's responsibilities would typically include:

  • Translation of designer mock-ups and wireframes into front-end code
  • Front-end integration with a back-end framework
  • Optimize application for maximum speed and scalability
  • Assure that all user input is validated before submitting to back-end
  • Build reusable code and libraries for future use
  • Integrate data from various back-end services and databases
  • Cooperate with web designers to match visual design intent

Can I evaluate JavaScript along with HTML/ CSS?

Yes. We support evaluating JavaScript and HTML/ CSS in the same assessment. You can review our standard ready-to-go JavaScript, HTML/ CSS test to understand how the assessment would be designed. For customized assessments, we design the questions as per your job description and the final test will evaluate JavaScript, HTML/ CSS and coding skills together.

Can I evaluate frontend frameworks along with HTML/ CSS like React/ Angular/ Vue?

Yes. You can evaluate multiple skills in a single assessment. You can check our standard React, Angular, Vue assessments to get a sense of what questions would be asked. You can get a custom assessment designed that has questions to evaluate all the must-have skills of your job description. So for a standard React developer role, the test will have questions to evaluate React, JavaScript, HTML/ CSS and coding skills.

Can I combine multiple skills into one custom assessment?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify.

Do you have any anti-cheating or proctoring features in place?

We have the following anti-cheating features in place:

  • Non-googleable questions
  • IP proctoring
  • Web proctoring
  • Webcam proctoring
  • Plagiarism detection
  • Secure browser

Read more about the proctoring features.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

What experience level can I use this test for?

Each Adaface assessment is customized to your job description/ ideal candidate persona (our subject matter experts will pick the right questions for your assessment from our library of 10000+ questions). This assessment can be customized for any experience level.

Does every candidate get the same questions?

Yes, it makes it much easier for you to compare candidates. Options for MCQ questions and the order of questions are randomized. We have anti-cheating/ proctoring features in place. In our enterprise plan, we also have the option to create multiple versions of the same assessment with questions of similar difficulty levels.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

What is the cost of using this test?

You can check out our pricing plans.

Can I get a free trial?

Yes, you can sign up for free and preview this test.

I just moved to a paid plan. How can I request a custom assessment?

Here is a quick guide on how to request a custom assessment on Adaface.

Join 1200+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
Ready to use the Adaface HTML/CSS Online Test?
Ready to use the Adaface HTML/CSS Online Test?
Chat with us
40 min tests.
No trick questions.
Accurate shortlisting.
Terms Privacy Trust Guide

🌎 Pick your language

English Norsk Dansk Deutsche Nederlands Svenska Français Español Chinese (简体中文) Italiano Japanese (日本語) Polskie Português Russian (русский)
Ada
Ada
● Online
Previous
Score: NA
Next
✖️