MCQ
How is inline CSS applied to an HTML element?
Unit-3 Programming Fundamentals
A With a separate CSS file
B With the style attribute inside the tag
C With a <style> tag in the head
D With JavaScript
Explanation

Inline CSS is written directly in the style attribute of an element, such as <p style="color:red">.