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 -

  1. Notepad
  2. Notepad++
  3. Eclipse
  4. Editplus
  5. Textpad
  6. kit
  7. Microsoft visual studio
  8. 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.
Editor

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>

Editor

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.

Editor

Step-4:

View the saves new.htm/new.html using the web browser.