Skip to content

Instantly share code, notes, and snippets.

@bryik bryik/
Last active Jan 12, 2019

What would you like to do?
HTML starter template

A short HTML template that passes the Nu HTML Checker with zero errors or warnings.

./snippet.json can be pasted into vs code thanks to Denis Malinochkin's Code2Snippet CodePen.

<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8" />
<link rel="icon" type="image/png" href="./favicon.ico">
<title>Document title</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" media="screen" href="main.css"/>
<script src="main.js"></script>
"starter template": {
"prefix": "START",
"body": ["<!DOCTYPE html>",
"<html lang=\"en\">",
"\t<meta charset=\"utf-8\" />",
"\t<link rel=\"icon\" type=\"image/png\" href=\"./favicon.ico\">",
"\t<title>Document title</title>",
"\t<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">",
"\t<link rel=\"stylesheet\" type=\"text/css\" media=\"screen\" href=\"main.css\"/>",
"\t<script src=\"main.js\"></script>",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.