When creating a new HTML file I find myself searching for simple, empty HTML file template to copy & paste again and again. To end that prodcedure once and for all, this is the template that I’ll use:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link href="style.css" rel="stylesheet" />
</head>
<body>
<script src="script.js"></script>
</body>
</html>
Note: Since HTML5 the type
attributes in <script>
and <style>
are not required anymore and it’s recommended to omit them.