HTML5 is very similare to the previous HTML formats in syntax, but once you start coding there are some differences in layout that is really confusing at start. The new tag elements seems intuitive but this is not always the case. There are plenty of arguments to find on HTML5 tags, but let’s ignore that for now and start with the basics.
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Example document</title>
</head>
<body>
<p>Example paragraph</p>
</body>
</html>
Save this text inside a file with .html file and try for yourself. As a windows user google IIS or as Linux user google apache for how to install and deploy local webservers to get started on your own. But this will example will open locally and display in any browser without a webserver.