Which of the following statement about HTML attributes is false?

2018

Which of the following statement about HTML attributes is false?

  1. A.

    HTML element can have attributes

  2. B.

    Attributes provide additional information about an element

  3. C.

    Attributes are always specified in the end tag

  4. D.

    Attributes usually come in name/value pairs like: name = "value"

Attempted by 185 students.

Show answer & explanation

Correct answer: C

HTML attributes provide additional information about elements and are always placed within the opening tag, not the end tag. Option 3 is incorrect because it claims attributes appear in the closing tag, making it the false statement.

Explore the full course: Up Lt Grade Assistant Teacher 2025