开发者

Contact Form not Validating

Anyone shed any light on why the following:

<form id="" method="post" action="" />
                    <input type="text" name="" title="" tabindex="10" class="" />
                    <input type="password" name="" title="" tabindex="20" class="password" />
                    <input type="submit" name="submit" class="submit" value="" />
                </form>

Gets this error form W3C:

Line 101, Column 11: end tag for element "form" which is not open

              开发者_如何学Go  </form>

When I leave the end tag of each line as '>' as opposed to '/>' I get further issues. Can some assist me in re-dong this form so that it validates.

Thanks


Remove the slash at the end of <form id="client_login_form" method="post" action="" />. That closes the tag immediately like in <br />.


Your opening form tag ends with /> Closing itself.

Change it to

<form id="client_login_form" method="post" action="">
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜