differentiate between container tag and empty tag
Answers
Answered by
185
In HTML we have two types of tags, categorised as :
1. Empty tag
2. Closing tag or container tag.
In empty tag there is no requirement of the closing element.
Like:
<br> this tag don't requires any closing tag like </br>
In container tag we required to have closing tag.
Like :
<body> this tag should need to have a coating tag </body>
1. Empty tag
2. Closing tag or container tag.
In empty tag there is no requirement of the closing element.
Like:
<br> this tag don't requires any closing tag like </br>
In container tag we required to have closing tag.
Like :
<body> this tag should need to have a coating tag </body>
rubyjha8288:
thanks
Answered by
145
container tag : it wrap around the text and graphics .
*it has a closing
Empty tag : it do not wrap around any text and graphics .
*it do not have any closing.
*it has a closing
Empty tag : it do not wrap around any text and graphics .
*it do not have any closing.
Similar questions