wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Differentiate between container and empty elements in HTML.


Open in App
Solution

Container tag consists of opening tag+content+closing tag. They are used to enclose texts and images. Container tag always comes with content. Empty elements are used to insert the content. Empty tags can be used inside the container tags.


flag
Suggest Corrections
thumbs-up
131
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Consumer Rights
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon