Write HTML Using Notepad + + or Notepad (simple text editor) HTML can be edited by using a professional HTML editor such as Adobe Dreamweaver Microsoft Expression, Web CoffeeCup HTML Editor etc, But we recommend a simple text editor like Notepad (PC) or TextEdit (Mac). We using a simple text editor is a good way to learn HTML.
Follow the 5 steps below to create your first web page with Notepad.
Step 1: Create a Folder and give a suitable name such as "Learn HTML"
Step 2: Open Notepad in Windows 7 or earlier Click Start (bottom left on your screen). Click All Programs >> Click Accessories >> Click Notepad.
To open Notepad in Windows 8 or later: Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.
Step 3: Write or copy Some HTML Code Into Notepad
Step 4: Save the HTML Page or Save the HTML file on your computer under "Learn HTML Folder".
Select File >> Save as in the Notepad menu Or Type Ctrl+S From Keyboard You can use either .htm or .html as file extension. There is no difference, it is up to you.
Example-
File Name - "example1.html"
Save as Type - All Files (*.*)
Step 5: Display HTML Page in Your Browser Double-click on your saved HTML file under "Learn HTML Folder" , and the result will look much like this: