Is it necessary to close the 'input' this way: <input type="checkbox"/>? Is the example <input type="checkbox"> incorrect? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Is it necessary to close the 'input' this way: <input type="checkbox"/>? Is the example <input type="checkbox"> incorrect?

10th Jan 2017, 5:12 PM
cath_friday
cath_friday - avatar
2 Answers
+ 4
no its correct ...but may be in the future adding a slash to input gonna be necessary. so its a good practice to add slash to it
10th Jan 2017, 5:27 PM
Jonty Bamrah
0
Thanks for the answer. I've only seen the examples of no slash at the end of 'input'. Should always keep up with updates.
10th Jan 2017, 5:30 PM
cath_friday
cath_friday - avatar