CodeIgniter Forums
W3.org validator warns about closing slashes in INPUT - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: W3.org validator warns about closing slashes in INPUT (/showthread.php?tid=83461)



W3.org validator warns about closing slashes in INPUT - DimCI - 09-27-2022

Codeigniter 3 latest version form helper needs to be fixed a little. w3.org validator warns about closing slashes in html elements like form INPUT (e.g. <input name="bla"...../>; should be <input name="bla".....>)

Not error, but warning only...

Regards, Dmitry


RE: W3.org validator warns about closing slashes in INPUT - luckmoshy - 09-28-2022

of course yes!!! but there is a difference between CI and w3 HTML validator in assistance you should obey the w3 HTML validation so you should do as what w3 wants like
Code:
<input attribute then/>
is well applicable