Blog Desk       February 10, 2020      272

Which HTML attribute is used to define inline styles?

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

The Right Answer is : Option B

Explanation

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.