Category: Interview Questions

  • What are the types of CSS?

    1. Inline CSS – written inside HTML tags.
    2. Internal CSS – inside <style> in the HTML <head>.
    3. External CSS – in a separate .css file (best practice).

  • What is CSS?

    CSS (Cascading Style Sheets) is used to style and format HTML elements (colors, fonts, layouts, responsiveness)

    • Example:
    p { color: blue; font-size: 18px; }