Skip to content

Minimum configuration html, css, javascript templates

   

It's a minimal HTML, CSS, and javascript template.
I look it up every time, so here are my notes.

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<p>hello</p>
</body>
</html>
view raw index.html hosted with ❤ by GitHub
window.onload = function() {
console.log('hello');
}
view raw script.js hosted with ❤ by GitHub
@charset "utf-8";
p {
color: red;
}
view raw style.css hosted with ❤ by GitHub