CSS interview question

CSS (Cascading Style Sheets) is essential for web design. Here are some common CSS interview questions for beginners:

What is CSS?
It is used to style HTML elements and control layout.

Difference between Inline, Internal, and External CSS?

Inline: written inside HTML elements.

Internal: written inside tags.

External: linked through a separate .css file.

What is the difference between relative, absolute, and fixed positioning?

Relative: moves element relative to itself.

Absolute: positions relative to parent.

Fixed: stays fixed on the screen.

Address:
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India
hr@tpointtech.com

+91-9599086977