How to create an HTML file

Photo of author
Written By Edward

When students learn HTML Programming language beginner level, they don’t know how to create an HTML file. Sometimes they apply the code and save the file but the file does not work properly main reason is that he doesn’t know how to save the file and run it in the Chrome browser. Now we sharing the easy method to save the HTML files. After saving the file properly you can display it on your chrome screen.  We write the article in detail on how to create a hyperlink in MS Word.

1. Let’s Choose a text editor like a Notepad or other that depends on you most programmers use visual studio code for coding.
2. Now open a simple text editor such as Notepad and create a new file.
3. Save your HTML file on your computer as HelloWorld.html.
4. Type the following HTML code.

<title>Hello World</title>

<h1>This is a Heading</h1>
<p>This is a paragraph. </p>


Find your HTML file and click on it now your file automatically open in your browser.
Congratulation the page should appear as follows.

HTML Output

Leave a Comment