English

Which HTML attribute is used to define inline CSS styles?

Advertisements
Advertisements

Question

Which HTML attribute is used to define inline CSS styles?

Options

  • css

  • style

  • type

  • id

MCQ
Advertisements

Solution

style

Explanation:

Inline CSS styles are defined using the STYLE property. For example,

<H3 STYLE = "FONT-FAMILY = ARIAL">
shaalaa.com
  Is there an error in this question or solution?
Chapter 6: Cascading Style Sheets (CSS) - Assisted Practice [Page 271]

APPEARS IN

Sumita Arora Computer Applications [English] Class 10
Chapter 6 Cascading Style Sheets (CSS)
Assisted Practice | Q 11. | Page 271
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×