CBSE Class 10 Computer Applications Question 122 of 176

HTML I — Basic HTML Elements — Question 21

Back to all questions
21
Question

Question 17

Differentiate between container and empty elements used in HTML.

Answer
Container elementsEmpty elements
Container elements require both, an opening and a closing tag.Empty elements require only an opening tag and not a closing tag.
Container elements affect the text appearing between their opening and a closing tag.Empty elements just carry out the job assigned to them.
For example, <TITLE>...</TITLE>, <FONT>...</FONT> etc.For example, <BR>, <HR> etc.