Blog Desk       February 10, 2020      227

Which HTML attribute is used to define inline styles?

  1. class
  2. style
  3. font
  4. styles

The Right Answer is : Option B


HTML style Attribute define inline styles

The style attribute specifies an inline style for an specific HTML element. The style attribute will override any style set globally, e.g. internal or in an external style sheet.