Loading

Quipoin Menu

Learn • Practice • Grow

css / Introduction
interview

Q1. What is CSS and what does it stand for?
CSS stands for Cascading Style Sheets. It is a stylesheet language used to describe the presentation of HTML documents, including colors, layouts, fonts, and responsive designs.

Q2. What are the different ways to add CSS to HTML?
There are three ways: External CSS (using <link> tag), Internal CSS (using <style> tag in head), and Inline CSS (using style attribute directly on elements).

Q3. What is the difference between CSS and CSS3?
CSS3 is the latest version with new features like animations, transitions, flexbox, grid layouts, rounded corners, and media queries for responsive design.

Q4. What is a CSS selector?
A CSS selector is a pattern used to select and style HTML elements. Examples include element selectors (p), class selectors (.class), and ID selectors (#id).

Q5. What is the cascade in CSS?
The cascade determines which styles apply when multiple rules conflict. It considers importance, specificity, and source order to resolve conflicts.