• Post category:HTML

How to Create a HTML Document | Step by Step Guide

How to Create a HTML Document

In this article, we will see how to create an HTML document.

Step by Step guide to create an HTML file

  1. Right-click “new > text document”.
  2. Open a text document and write HTML basic code like the code below.
    <!DOCTYPE html>
       <title>HTML DEMO</title>
       <h1>NEW HTML DOCUMENT</h1>
  3. Then save it as your file with the .html extension. Ex: index.html.
  4. To run your program, select your HTML file and right-click open with chrome.
  5. Your code will display like the below imagehow to create a html document

Leave a Reply