+ 3
HTML input. Is there any difference between these two? ... > & />
Any major difference? <input type = "" > And <input type = "" /> Are there any benefits by using one of these or doesn't matter (same)?
1 Odpowiedź
+ 8
No difference, except in react.js, jsx all tag must have closing tag /.
For good practice, i always set tag with closing /