HTML/CSS Online Test

TestDome skill assessments are used by more than 8,000 companies and 880,000 test takers.

For Jobseekers

Practice your skills and earn a certificate of achievement when you score in the top 25%.

Take a Practice Test

For Companies

Test candidates with real-world problems and interview the best ones.

Sign Up to Offer this Test

About the test

The HTML/CSS online test assesses knowledge of HTML and CSS through a series of live coding questions that test the ability to implement and style a user interface. Tasks on this test are executed inside the Google Chrome web browser.

The assessment includes work-sample tasks such as:

  • Defining HTML elements and their attributes, and applying CSS styles to them.
  • Creating forms to group inputs and collect user data.
  • Using responsive web design principles.

A good Web front-end developer or UI/UX developer needs a solid understanding of HTML and CSS in order to create and style web pages and user interfaces that both look good and are easy to navigate.

Sample public questions

Easy
7 min
code
Public
HTML/CSS
Borders
Element Size
Styling

Every user on your website has an image avatar that is displayed when they post a comment. You want to style these images differently from other images on your site. Add a CSS class named avatar that fulfils the following requirements:

  1. The avatar's border is rounded, so that it appears as a circle.
  2. The avatar's width and height are both 150px.
  3. The avatar has a solid border, has a width of 2px, and be colored gray.

For example, the avatar in the template should look like:

Cat avatar

Easy
7 min
code
Public
HTML/CSS
Elements and Attributes
HTML5
Semantic Tags

Update the website's HTML, without using JavaScript or CSS, to make use of semantic elements so that:

  • The classless outer div element is replaced with a more appropriate element.
  • The divs with the image and caption classes are replaced with self-contained content elements.
  • The divs with the lorem-ipsum and description classes are replaced with elements, so that by default only the contents of the description element are shown. When the contents of the description element are clicked, the visibility of the rest of the lorem-ipsum element is toggled.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the HTML/CSS test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL
TestDome
Certificate
TestDome logo icon

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

34 more premium HTML/CSS questions

Links, Ad, Article Style, Baby Names, Cities, Editor, Format Table, Keywords, Label Color, Loading, Logo, Shirts, Upload, Warehouse, Widgets, iframe, Link, Addition, Bookmark, Screen Reader, Game Offer, Bicycle Report, Curious Leaf, Gaming Console, Travel Blog, Blog, Christmas Tree, Timesheet, Email Tables, Data Entry, Price List, Ice Cream Flavors, TestDome Logo, Share Button.

Skills and topics tested

  • HTML/CSS
  • CSS Selectors
  • Styling
  • Element Spacing
  • Flexbox
  • Positioning
  • Fonts
  • Elements and Attributes
  • HTML5
  • Language
  • Animation
  • Forms
  • Hyperlink
  • IFrame
  • CSS Advanced
  • Element Size
  • Bookmarks
  • Accessibility
  • CSS Basics
  • Tables
  • Responsive Design
  • UI
  • Semantic Tags
  • Borders
  • Inline Styles
  • Selectors
  • CSS Layout

For job roles

  • UI/UX Developer
  • Web Front-End Developer

Sample candidate report

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 - Crowd Badge
G2 - High Performer (2022)
Capterra - 4.5 Stars
Capterra - Shortlist (2022)

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

90+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Related HTML/CSS Tests: