input Tag never closed

Hi,

I checked out the HTML code and realized that the <input>-Tags in the form are not closed.
Example:

<input type="hidden" value="51783445" name="captcha_prefix">

Not sure how bad it is though.

  • This topic was modified 8 years, 8 months ago by  Andreas.
  • This topic was modified 8 years, 8 months ago by  Andreas.

Input tags have no close 😉 Just textareas and selects.

Sure? I though (like xml) every Tag must always be closed. (Browser sometimes/often compansate though)

http://www.w3schools.com/tags/tag_input.asp

They aren’t even valid anymore.

Read this:
http://stackoverflow.com/questions/3201870/are-self-closing-input-tags-valid-in-html-4

Wow…. I really missed a lot in the last years…

Thanks for the clarification!

That must be a lot years. I think I made my first self written form with 12 in 2003 and never learned the other way. Just br’s had self-closing often.

You must be logged in to reply in this thread.

Not Support
6 posts