+ 1
Is it necessary to close tags(/>) of formatting styles?
I did not close some of the tags like italic, ins but still they worked. Pls explain
2 Respostas
+ 2
In inline tag elements can normally displayed without break(<br>,<img>,<a>) .it is not necessary to put the break (<br/>,<img/>,<a/>).
+ 1
For the most part unclosed tags will be automatically closed - but each browser treats an unclosed tag differently. Not only does it depend on your browser, it also depends on the doctype spec.