logo

Cambridge IGCSE Information and Communication Technology practice

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

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

cambridge_mcq

Style

Topic

Create a web page continued

Exam-style question

Try this first

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

  1. A.To create hyperlinks
  2. B.To define table rows
  3. C.To group content for styling
  4. D.To insert images

Answer and explanation

Concise answer

To group content for styling

Why this is correct

The <div> tag is used to group block-level content, allowing for CSS styling and layout control.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions