Explain the difference between inline, internal, and external CSS.

  • Inline: Styles applied directly to elements via the style attribute.
  • Internal: Styles placed in a <style> tag within the HTML <head>.
  • External: Styles in a separate .css file linked to the HTML document.