Posts

Showing posts with the label Difference




Explain Difference Between Container Tag and Empty Tag

Image
. CONTAINER TAG is the opening tag is the closing tag is the opening tag is the closing tag closing is required EMPTY TAG. Container And Empty Tags In Html Geeksforgeeks Empty Tags An empty tag does not use a closing tag Empty Tags Break a line Break a line 7. . There are two kinds of tags. While empty tag is tag without content or a closing tag. Etc. It is a container element. Our paragraph text here. Container tag always comes with content. In XHTML all elements must be closed. They are used to enclose texts and images. E-g. Container elements HTML container elements require a starting as well as an ending tags. The tags which are required only opening tag is known as empty elements or tags. Closing tag or container tag. A typical example of an empty element is the element which represents a line break. They affect the text appearing between their starting and ending tag...