Search test library by skills or roles
⌘ K

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)
  • Flexbox and Grids for modern layouts
  • Working with images
  • CSS-based animations
  • Handling HTML forms
  • Styling HTML elements with CSS
  • Responsive websites using media queries
  • Integrating custom fonts

Try practice test
9 reasons why
9 reasons why

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



Reason #1

Tests for on-the-job skills

The HTML/ CSS Online Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

The test screens for the following skills that hiring managers look for in candidates:

  • Demonstrate proficiency in core HTML tags
  • Effectively handle HTML forms
  • Apply concepts of the core CSS box model, inheritance, and specificity
  • Style HTML elements using CSS
  • Utilize Flexbox and Grids for modern layouts
  • Create responsive websites using media queries
  • Manipulate and optimize images in HTML
  • Integrate custom fonts into HTML and CSS
  • Implement CSS-based animations
Reason #2

No trick questions

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.

View sample questions

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
Try practice test
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.

How we design questions

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

Easy

Background Properties
Try practice test
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
Try practice test
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
Try practice test
In the following HTML, what will be the color of link with class "mark"
 image

Medium

Let's Hack
CSS Property
Try practice test
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
Queues
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

Visitors Count
Strings
Logic
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

Easy

Background Properties

2 mins

HTML/CSS
Try practice test

Easy

Colorful sentences

2 mins

HTML/CSS
Try practice test

Easy

Links

2 mins

HTML/CSS
Try practice test

Medium

Let's Hack
CSS Property

3 mins

HTML/CSS
Try practice test

Easy

Registration Queue
Logic
Queues

30 mins

Coding
Solve

Medium

Visitors Count
Strings
Logic

30 mins

Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Background Properties
HTML/CSS
Easy2 mins
Try practice test
Colorful sentences
HTML/CSS
Easy2 mins
Try practice test
Links
HTML/CSS
Easy2 mins
Try practice test
Let's Hack
CSS Property
HTML/CSS
Medium3 mins
Try practice test
Registration Queue
Logic
Queues
Coding
Easy30 minsSolve
Visitors Count
Strings
Logic
Coding
Medium30 minsSolve
Reason #4

1200+ customers in 75 countries

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

Try practice test
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.

Science behind Adaface tests
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.

invite candidates
Reason #7

Detailed scorecards & benchmarks

View sample scorecard
Try practice test
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.

test completion rate
Reason #9

Advanced Proctoring


Learn more

About the HTML/ CSS Assessment Test

Why you should use Pre-employment HTML/ CSS Online Test?

The HTML/CSS Online Test makes use of scenario-based questions to test for on-the-job skills as opposed to theoretical knowledge, ensuring that candidates who do well on this screening test have the relavant skills. The questions are designed to covered following on-the-job aspects:

  • Understanding and applying core HTML tags
  • Handling HTML forms and form validation
  • Working with the CSS box model for layout design
  • Utilizing CSS inheritance and specificity in styling
  • Applying CSS to style HTML elements
  • Creating modern layouts using Flexbox and Grids
  • Designing responsive websites using media queries
  • Working with images in HTML and CSS
  • Integrating and utilizing custom fonts in CSS
  • Creating CSS-based animations

Once the test is sent to a candidate, the candidate receives a link in email to take the test. For each candidate, you will receive a detailed report with skills breakdown and benchmarks to shortlist the top candidates from your pool.

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

  • Core HTML tags

    This skill refers to the knowledge of fundamental HTML tags and their usage, such as <code>&lt;div&gt;</code>, <code>&lt;p&gt;</code>, <code>&lt;h1&gt;</code>, etc. It is important to measure this skill as it forms the building blocks of a web page and demonstrates the ability to structure and organize content.

  • Handling HTML forms

    This skill involves working with HTML form elements like <code>&lt;input&gt;</code>, <code>&lt;select&gt;</code>, <code>&lt;textarea&gt;</code>, etc., and understanding how they are used to collect user input. It is crucial to assess this skill as forms are an essential part of many web applications, enabling users to submit data and interact with the website.

  • Core CSS (box model; inheritance; specificity)

    This skill encompasses the understanding of the CSS box model, which defines how elements are rendered on a web page, as well as concepts like inheritance and specificity that affect how styles are applied. It is necessary to evaluate this skill as CSS is one of the core technologies used for styling web pages and controlling layout.

  • Styling HTML elements with CSS

    This skill involves applying CSS styles to HTML elements using selectors, properties, and values. By measuring this skill, recruiters can assess an individual's ability to create visually appealing and consistent designs, as well as customize the appearance of different elements on a web page.

  • Flexbox and Grids for modern layouts

    This skill focuses on the use of CSS flexbox and grid to create flexible and responsive layouts. It is important to evaluate this skill as these modern layout techniques provide powerful tools for designing web pages that adapt to different screen sizes and devices.

  • Responsive websites using media queries

    This skill entails using media queries to make websites responsive, adapting their layout and styling based on different screen sizes and devices. By measuring this skill, recruiters can assess a candidate's ability to create websites that provide a consistent user experience across various devices and screen resolutions.

  • Working with images

    This skill involves understanding how to work with images in web development, including tasks such as adding images to a webpage, optimizing them for performance, and implementing image galleries. Assessing this skill is valuable as images are an integral part of modern websites and being proficient in working with them demonstrates a well-rounded skill set.

  • Integrating custom fonts

    This skill encompasses the ability to integrate and style custom fonts in a web page using CSS. It is necessary to measure this skill as custom fonts can enhance the visual appeal and branding of a website, while also providing better control over typography and design.

  • CSS-based animations

    This skill involves creating animations and transitions using CSS properties and keyframes. By assessing this skill, recruiters can evaluate an individual's ability to add dynamic and interactive elements to a web page, enhancing the user experience and making the website more engaging.

  • Full list of covered topics

    The actual topics of the questions in the final test will depend on your job description and requirements. However, here's a list of topics you can expect the questions for HTML/CSS Online Test to be based on.

    HTML tags
    HTML forms
    CSS box model
    CSS inheritance
    CSS specificity
    Styling HTML elements
    CSS Flexbox
    CSS Grids
    Responsive websites
    Media queries
    Image optimization
    Custom fonts in CSS
    CSS animations
Try practice test

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

How is the HTML/ CSS Online Test customized for senior candidates?

For intermediate/ experienced candidates, we customize the assessment questions to include advanced topics and increase the difficulty level of the questions. This might include adding questions on topics like

  • Implementing effective design patterns in HTML and CSS
  • Optimizing website performance with HTML and CSS
  • Understanding cross-browser compatibility challenges in HTML and CSS
  • Using CSS preprocessors like Sass or Less
  • Implementing SEO best practices in HTML and CSS
  • Applying accessibility principles in HTML and CSS
  • Implementing responsive typography techniques
  • Utilizing CSS frameworks like Bootstrap or Foundation
  • Implementing advanced CSS selectors and pseudo-classes
  • Implementing internationalization and localization in HTML and CSS
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 Hiring 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. Here's a quick guide on how you can request a custom test.

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
  • Screen proctoring
  • Web proctoring
  • Webcam proctoring
  • Plagiarism detection
  • Secure browser
  • Copy paste protection

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.

customers across world
Join 1200+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
g2 badges
Ready to use the Adaface HTML/CSS Online Test?
Ready to use the Adaface HTML/CSS Online Test?
logo
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
✖️