Use this basic code for starting an HTML5 file

Copy and paste the code you see below into any plain text editor then save that file with the .html extension. You will then have a basic HTML5 web page.

NOTE: Do not copy the actual source code for this page because it is not the same as what you see below, which is what you need to copy.


<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <title>Basic HTML5 file page title</title>
</head>
<body>
Page content
</body>
</html>