Skip to content

Instantly share code, notes, and snippets.

@remino
Created May 24, 2022 05:44
Show Gist options
  • Save remino/81a59f6598c9f62fd44e5b8dae81adee to your computer and use it in GitHub Desktop.
Save remino/81a59f6598c9f62fd44e5b8dae81adee to your computer and use it in GitHub Desktop.
Minimal valid HTML5 document
<!doctype html>
<title>Valid HTML5 Document</title>
This is a valid HTML5 document.
<!doctype html>
<title>{{title}}</title>
{{body}}
<!-- Added optional HTML lang, as some validators may warn of a missing one: -->
<!doctype html>
<html lang=en>
<title>Valid HTML5 Document</title>
This is a valid HTML5 document.
</html>
<!doctype html>
<html lang={{lang}}>
<title>{{title}}</title>
{{body}}
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment