Created
August 25, 2010 17:33
-
-
Save LeeRJohnson/549926 to your computer and use it in GitHub Desktop.
HTML5 Optimized Markup Document Starts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang=en> | |
<meta charset=utf-8> | |
<title>Valid HTML5 Document - Language English - Encoding UTF-8</title> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<title>Minimum Valid HTML5 Document - Title and Content</title> | |
<h1>Warning: No Character encoding declared at document level</h1> | |
<p>No character encoding information was found within the document, | |
either in an HTML meta element or an XML declaration. | |
<p>It is often recommended to declare the character encoding in the document itself, | |
especially if there is a chance that the document will be read from | |
or saved to disk, CD, etc. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<meta charset=utf-8> | |
<title>Minimum Valid HTML5 Document - Encoded</title> | |
<p>The uploaded document was successfully checked as HTML5. | |
This means that the resource in question identified itself as "HTML5" | |
and that we successfully performed a formal validation using an SGML, | |
HTML5 and/or XML Parser(s) (depending on the markup language used). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang=en> | |
<title>Minimum Valid HTML5 Document - Language</title> | |
<h1>Globally Specify The Document Language</h1> | |
<p>You could also specify the language for each element if you really don't want the html tag or have multiple languages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<title>Minimum Valid HTML5 Document - Look Up</title> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
HTML5 Documents Minimal Markup
HTML5 validation test documents demonstrating methods of markup using minimal tags and characters.
Validation-(as of 2010-08)
Using W3C Validator and Validator.nu
Format