4 ms·
The title tag is required, though (unless you’re in an iframe), and an h1 tag must be closed (unlike, e.g., paragraph and list item tags). So your minimal page
by jacobolus 15y ago
The title tag is required, though (unless you’re in an iframe), and an h1 tag must be closed (unlike, e.g., paragraph and list item tags). So your minimal page looks like:
<!DOCTYPE html>
<title>YES</title>
<h1>YES</h1>
- sbierwagen 15y agoReally? http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2Fyes1.html&charset=%28detect+automatically%29&doctype=HTML5&group=0&user-agent=W3C_Validator%2F1.2 http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2... http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2Fyes2.html&charset=%28detect+automatically%29&doctype=HTML5&group=0&user-agent=W3C_Validator%2F1.2 http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2... http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2Fyes3.html&charset=%28detect+automatically%29&doctype=Inline&group=0&user-agent=W3C_Validator%2F1.2 http://validator.w3.org/check?uri=http%3A%2F%2Funitinu.net%2... Dang, apparently so. Guess I was wrong. The world's most inane objection: If you force the validator to HTML5 mode, (as in the first and second links) then you don't need to declare a DOCTYPE, a savings of 16 bytes. Not that you would ever do that for a real document, since it's a dumb idea.
- notatoad 15y agoforcing the validator to HTML5 mode would imply the doctype, wouldn't it, as the only way to force a browser to HTML5 mode is to include a doctype.