Multiple choice technology web technology

How do you define an inline style?

  1. use java script

  2. put the inline script to join

  3. put the style attribute into the tag and use css to create formatting

  4. put the CSS attribute for formatting

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Inline styles are applied by adding the style attribute directly to an HTML tag and using CSS syntax within that attribute to format the element. Option C correctly describes this approach. Options A and B incorrectly reference JavaScript or scripts rather than CSS styling. Option D incorrectly mentions a CSS attribute rather than the style attribute with CSS code.