Blank HTML Template

Aug 30, 2020

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">
  <meta charset="utf-8">
  <link href="style.css" rel="stylesheet" />

  <script src="script.js"></script>

Note: Since HTML5 the type attributes in <script> and <style> are not required anymore and it’s recommended to omit them.

You might also like