Which of the following statements related to business computing is/are true?…

2022

Which of the following statements related to business computing is/are true?

(i) The HTML style attribute is used to add styles to an element, such as colour, font, size, and more.
(ii) HTML colours are specified with predefined colour names, or with RGB, HEX, HSL, RGBA, or HSLA values.

  1. A.

    Only (i)

  2. B.

    Only (ii)

  3. C.

    Both (i) and (ii)

  4. D.

    Neither (i) nor (ii)

Attempted by 125 students.

Show answer & explanation

Correct answer: C

Statement (i) is true because the style attribute applies inline CSS for properties like color and font. Statement (ii) is also true as HTML supports multiple color formats including names, HEX, RGB, and HSL. Since both statements are factually correct regarding web development standards, the valid response is Option 2.

Explore the full course: Uppsc Polytechnic Lecturer 2025 Cs