WBCS.LIVE practice question

Which of the following HTML attribute is used to define inline styles?

Solve this multiple-choice question and check the correct answer with its explanation below.

Answer options

  1. type
  2. class
  3. style
  4. None of these

Correct answer and explanation

Correct answer: style