write html file and open in browser code example
Example 1: html start a page
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</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