HTML/CSS MCQs

HTML5 semantic tags, CSS flexbox, grid layout, responsive design, and animations.

21 MCQsProgrammingAll Levels
Key Concept Overview & Exam Context

Review core principles of HTML/CSS before answering questions. These questions simulate placement technical assessments (TCS, Infosys, Amazon), university exams (CS/IT), and technical certifications.

Target Readiness
Placements & Job Interviews
Question Format
Multiple-Choice with Explanations
Verified Solutions
Step-by-step Output Traces

HTML/CSS MCQ Questions

Page 2 of 2 (21 total)
Q1

Which CSS property is used to control the alignment of flex items along the main axis?

easy
Correct Answer: justify-content
Explanation:
justify-content controls the alignment of flex items along the main axis, while align-items controls cross-axis alignment.
Showing 21 to 21 of 21 questions