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 document — The <div> tag defines a division or section in an HTML document.
- A.
It is used to define sections of a document
- B.
It is used to insert images
- C.
It is used to create hyperlinks
- 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.
Loading lesson…