Choose a HTML Editor to create and save a new HTML document

As a beginner you should know how to create, edit and save a HTML page. So to create a HTML page, you need to use a Notepad that comes with your Windows Operating System. But when you want to create more html pages it would be better to use Notepad++ like editor to work faster.

So you can download Notepad++ which is free to use from this link below.

https://notepad-plus-plus.org/downloads/

Open Notepad or Notepad++

For Windows 10 or Windows 8

Start > Type “Notepad” or “Notepad++” > Click on it to open.

or, Search “Notepad” or “Notepad++” > Click on it to open.

or, Go Start > All apps > Notepad or Notepad++ > Click on it to open.

Open Notepad

For Windows 7 or earlier:

Open by click on Start > Programs > Accessories > Notepad or Notepad++

First HTML document

Now we have created a new html document. So let’s add our first HTML code to it. And copy these codes to the new html document.

<!DOCTYPE html>
<html>
<title>This is Page Title</title>
<body>
<h1>This is Heading Tag</h1>
<p>This is an example of a paragraph.</p>
</body>
</html>

So here the declaration for HTML5 is <!DOCTYPE> which helps a browser to display a HTML document properly.

HTML Editor to create a new HTML document

Now save the document by pressing Ctrl+S or File > Save. And type index.html or index.htm and click on Save. So here .html and .htm is file extension for HTML document.

Save HTML document

So we have created the html document and saved it in our computer now. Now open the html page with a browser like Google Chrome, Mozilla Firefox, Microsoft Edge, etc. You can view the page you have created in browser. This is what you will see.

HTML page in browser

So in the next lesson we will talk more about this and that …