TYPE OF TAGS in HTML

CONTAINER TAGS

In HTML, tags that include both an “On” (start or opening tag) and a “Off” (end or closing tag) tag are called container tags.
Example
HTML is an On tag
/HTML is an Off tag
This tags contain relevant text between them.

EMPTY TAGS

In HTML,tags that include only “On” (start or opening tag) tags and no “Off” tags.
Example
BR stands for Break tag and has only ON tag

A PROGRAM USING BOTH THE TAGS



 TAGS TYPE 
HTML SAYS HI
I AM CONTAINER TAG

BR SAYS HI I AM AN EMPTY TAG

OUTPUT:
TAG_TYPE