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
Open your system Notepad. It looks like this.
Step 2: Write HTML code inside notepad.
Step 3: Now save the Html file with .html or .htm extension
Step 4: Open the
index.html file in your browser.
Open the saved Html page file in your browser as per your choice.
Now you can see the result like this.
Note: In the given above example the file name is where the index is web page name and 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