1.

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 <HTML>, <HEAD>, <BODY>.

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.

<IMG> , <BR> , <HR>.

They just carry out the job assigned to them.



Discussion

No Comment Found