HTML Editor

We need a simple text editor for HTML like Notepad (for PC), or TextEdit ( for Mac).

  • An Html is a text file that is created by text editors.
  • Text editors are programs that allow us to create or modify web pages.
  • There are various text editors like Notepad, sublime text, notepad++, etc (PC), or TextEdit (Mac), etc.
  • In this tutorial, we will use Notepad and sublime text for beginners.

The following are the simple steps to create web pages with notepad or TextEdit.

Step1: Open System Notepad

html editor notepad

Open your system Notepad. It looks like this.

Step 2: Write HTML code inside the notepad.

html editor example

Step 3: Now save the Html file with .html or .htm extension

html editor save

Step 4: Open the index.html file in your browser.

html program open

Open the saved Html page file in your browser as per your choice.

Now you can see the result like this.

html editor output

Note: In the given above example the file name is index.html where the index is web page name and .html is an extension. We can change the name as per our choice (like abc.html, program.html anything).

Now, you can practice with another editor which is sublime text. Download and start 

Online free Editor

We can run our HTML code free using agyanadda editor. It is good for us. We can modify and see results as per our choice

Example

Try Now

<!DOCTYPE html>
<html>
<head>
    <title>First webpage</title>
</head>
<body>
  <h1>Hello Wordl!!</h1>
</body>
</html>


Prev Next