how to create htm file code example
Example 1: how to create an html file
<!-- Use any text editor, create a new file, paste this
and save it as index.html-->
<!DOCTYPE html>
<html>
<head>
<title> A Sample Webpage </title>
</head>
<body>
<p> Hello World! </p>
</body>
</html>
Example 2: how to create a html file
Make a folder
Create a file with .html at the end of it and open it with a text editor