Menu Close
HTML Tutorial

HTML Editors

The editors are used to write and modify the html codes properly.

The Notepad and Notepad++ are the basic professional editors for windows. For mac I recommend the Textedit.

Step 1: Open a new page and write your html codes on Notepad or Textedit editor.

Example

<!DOCTYPE html>
<html>
<head>
<title>Title of the page</title>
</head>
<body>
<h2>Heading</h2>
<p>Paragraph</p>
</body>
</html> 

Step 2: Save the file as “index.html”. You can also save the file with any name but it to be saved with .htm or .html file type. And set the preferred encoding for HTML files to UTF-8. 

Step 3: Next view this file on any browser. The output looks like below.

Output:

output-html
Popular HTML Blogs