<html>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
</body>
</html>
This is the most simple example of an html code. Now the syntax is <-> and </->.
And anything that goes in <body> is shown on our page. The <h1> adds a heading to the page and <p> adds a paragraph. Now type this code in notepad and save it as firstpage.html also remember to add a .html and then open your saved file in any browser.
Here is the output: