HTML Editor
Web pages can be created or modified by using the HTML editors. Among all, Simple editors are notepad (Windows) and textedit (Mac). Some of the editors specified below -
- Notepad
- Notepad++
- Eclipse
- Editplus
- Textpad
- kit
- Microsoft visual studio
- many more..
The below steps to create simple HTML document.
Step-1:
Open the notepad in windows or Open TexteEdit in mac.
- Windows 10: Click on ask anything button. Type Notepad and click on the notepad icon to open.
- Windows 8: Open the Start Screen. Type Notepad and click on the notepad icon to open.
- Windows 7 or earlier: Open Start > Programs > Accessories > Notepad.
- Mac: Open Finder > Applications > TextEdit.

Step-2:
Type the following code in it.
<!DOCTYPE html>
<html>
<head>
<title>First HTML Example</title>
</head>
<body>
<h1>First heading</h1>
<p>First Paragraph</p>
</body>
</html>

Step-3:
Save the above document as new.html or new.htm Saving the document with .html/.htm extension is important to create the html document. If the document doesn’t save it with extension, then the output doesn’t appear on web page.

Step-4:
View the saves new.htm/new.html using the web browser.