why some of the tags has no closing tag??
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 />
inline tag elements like IMG ,BR wont have closing tags
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
Kshama Sachan , what about form tags they have attributes right?? Even they hold the text as values??