What is the purpose of the <div> tag in HTML ?

2025

What is the purpose of the <div> tag in HTML ?

Answer: A. It is used to define sections of a documentThe <div> tag defines a division or section in an HTML document.

  1. A.

    It is used to define sections of a document

  2. B.

    It is used to insert images

  3. C.

    It is used to create hyperlinks

  4. D.

    It is used for creating lists

Attempted by 347 students.

Show answer & explanation

Correct answer: A

The <div> tag defines a division or section in an HTML document.

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…