MENU
Question -

Differentiate between container and empty elements used in HTML.



Answer -

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.

Comment(S)

Show all Coment

Leave a Comment

Free - Previous Years Question Papers
Any questions? Ask us!
×