CameraIcon
CameraIcon
SearchIcon
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
110
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Consumer Rights
CIVICS
Watch in App
Join BYJU'S Learning Program
CrossIcon