+ 2
why some of the tags has no closing tag??
4 Respuestas
+ 1
The content or code is used in between start and closed tags.
For example paragraph content is displayed in between paragraph tags as <p> content </p>
If there is no content or the tag is for specific usage then we use only single tag.
For example Break tag <br>, form tags like input button, etc..
We can use single tags like <br> or <br />
+ 1
inline tag elements like IMG ,BR wont have closing tags
+ 1
that elements which have no attribute inside it .thats known as empty tag nd thats why they have not ending tag , they cann't hold the text as well as other elements ..like hr tag
0
Kshama Sachan , what about form tags they have attributes right?? Even they hold the text as values??