Welcome Guest, Not a member yet? Register   Sign In
W3C Self-closing tag syntax in text/html documents is widely discouraged
#1

Hello.
The W3C validator displays a warning for : Self-closing tag syntax in text/html documents is widely discouraged.
In form_helper the code rendered ends with "/>" or the validator require just a simple ">".
Will an update be released?
Thanks.
Reply
#2

What function of the form_helper are you using?
Reply
#3

(10-07-2022, 08:42 AM)paulbalandan Wrote: What function of the form_helper are you using?

Hello, I'm using form_input, form_upload and form_checkbox.
I created form_helper file in App/Helpers and I made correction but I think that it would be better if an update fix that.
Reply
#4

All HTML code should end with just > not />
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

I created a dev issue: https://github.com/codeigniter4/CodeIgni...ssues/6649
PRs are welcome!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB