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

OUTPUT:
TAG_TYPE

Leave a Reply

Contact Us
close slider
Contact Us

How can we help you with?