Tag (input) should be an empty-element tag.

因为:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">  
XHTML 对网页标签要求比较严格(相对HTML),必须规范化书写。

所以<input type="password" name="password" id="password">
改成<input type="password" name="password" id="password" />

原文地址:https://www.cnblogs.com/ltb6w/p/9978721.html