1
我知道這是一個非常基本的問題...HTML基礎 - 驗證
這些是相同的接近 -
<iframe src="includes/captcha/captcha.php"></iframe>
<iframe src="includes/captcha/captcha.php"/>
而且
<div id="container_join_messages" class="shadow"></div>
<div id="container_join_messages" class="shadow"/>
只是想看看我可以在最後刪除額外的標籤並且仍然有效。
使用該文檔類型
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
dupe of http://stackoverflow.com/questions/4893193/are-xhtml-self-closing-elements-still-valid-in-html5 –
驗證?是。在瀏覽器中以text/html方式工作?沒有。 – Alohci