Distinguish between container and empty tags.

8 views

1 Answers

Container elements HTML container elements require a starting as well as an ending tags.

e-g , , .

They affect the text appearing between their starting and ending tags.

Empty elements HTML empty elements require just a starting tag and not an ending tag.

e.g.

,
,


.

They just carry out the job assigned to them.

8 views