Skip to content

Instantly share code, notes, and snippets.

@bryik bryik/README.md
Last active Jan 12, 2019

Embed
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">
<head>
<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>
</head>
<body>
</body>
{
"starter template": {
"prefix": "START",
"body": ["<!DOCTYPE html>",
"<html lang=\"en\">",
"<head>",
"\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>",
"</head>",
"<body>",
"\t",
"</body>"]
}
}
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.