HTML/CSS interview questions

Want to become an expert in cracking HTML/CSS interview questions/Front end interview questions?

Start with practicing the questions below. Whether a question involves multiple choice or live coding, we will give you hints as you go and tell you if your answers are correct or incorrect.

After that, take our timed public HTML/CSS interview questions test.

To use our service for testing developers, purchase one of the paid plans for companies.


1. Inspector
HTML/CSS Bug fixing Language Public

Fix the bugs in the following HTML code.

Easy  
10min
Solve question

2. StylingLinks
HTML/CSS CSS selectors Styling Public

Write CSS so that link <a href="http://www.testdome.com">Check documentation</a> looks like:

Easy  
7min
Solve question

3. AdvancedForm
HTML/CSS HTML5 Public

With the new HTML5 features, modify the form so that:

  • The formula input field has an autocomplete option with the following options: "sin", "cos", "tan" and "cot".
  • The iterations input field is a slider with possible values from 1 to 10.
  • The precision input field is a number picker with possible values from 1 to 100, where 50 is the default value.
Hard  
7min
Solve question

4. Articles
HTML/CSS CSS selectors Positioning Public

Using CSS only (without adding additional HTML attributes), style articles so that they occupy the whole browser window and have the following properties:

Article Position Color
First Upper-left quarter Red
Second Upper-right quarter Yellow
Third Lower-left quarter Blue
Fourth Lower-right quarter Green

Note: The "CSS3 Flexible Box" layout mode and "Viewport Units (vh, vw, vmin and vmax)" are currently not supported.

Hard  
20min
Solve question

If you feel ready, take one of our timed public HTML/CSS interview questions tests:

  • HTML/CSS online test (Easy / Hard)
  • HTML/CSS and Bootstrap online test (Easy)
  • HTML/CSS, JavaScript online test (Easy / Hard)
  • HTML/CSS, JavaScript, and Bootstrap online test (Easy / Hard)
  • HTML/CSS, JavaScript, and SQL online test (Easy / Hard)
  • HTML/CSS, JavaScript, C#, and SQL online test (Easy / Hard)
  • HTML/CSS, JavaScript, Java, and SQL online test (Easy / Hard)
  • HTML/CSS, JavaScript, PHP, and SQL online test (Easy / Hard)
  • HTML/CSS, JavaScript, Python, and SQL online test (Easy / Hard)
  • HTML/CSS, JavaScript, Ruby, and SQL online test (Easy / Hard)
  • HTML/CSS, JavaScript, SQL, and C# Algorithms online test (Easy / Hard)
  • HTML/CSS, JavaScript, SQL, and Java Algorithms online test (Easy / Hard)
Not exactly what you are looking for? Go to our For developers section.