任何想法,爲什麼這不會驗證此:爲什麼這個XHTML表單不會被驗證?
http://validator.w3.org/#validate_by_input
看來表單輸入標籤是錯誤的,但通過XHTML規範閱讀他們應該驗證罰款。有任何想法嗎?
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
</head>
<body>
<div class="Header">
<table class="HeaderTable">
<tr>
<td>
<div class="Heading">Test <span class="Standard">Test</span>
</div>
</td>
<td>
<div class="Controls">
<form id="ControlForm" method="get" action="Edit.php">
<input type="submit" name="action" id="Edit" value="Edit" />
<input type="submit" name="action" id="New" value="New" />
</form>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>
爲了避免這個問題,我現在總是在每一個表格中使用