Yes, HTML and CSS questions are compulsory in a web developer interview. Here are some CSS interview questions.
Q1. What is External Style Sheet and how do you link to it?
Q2. Advantages and disadvantages of using External Style Sheets?
Q3. Advantages and disadvantages of Embedded Style Sheets?
Q4. What is CSS selector?
Q5. What is Tweening?
Q6. What is Responsive Web design?
Q7. Explain the use of CSS Image sprites?
Q8. Syntax to link external style sheet?
Q9. How to link embedded style with HTML documents?
Q10. Why imported is a simple way to insert the file?
You can check out this blog on CSS interview questions for detailed explanations to these questions.
And, you can watch this video on HTML Interview Questions and Answers for HTML questions: