/    /  HTML Text Editors

HTML Text Editors

 

The HTML file is a text file, so to create an HTML file we can use any text editors (Notepad, Sublime, etc.).

Text editors are the programs that allow editing in a written text, hence to create a web page we need to write our code in some text editor.

There are different types of text editors available and you can directly download, but for a beginner, the best text editor is Notepad (Windows) or TextEdit (Mac).

 

HTML code with Notepad. (Recommended for Beginners):

 

Notepad is a simple text editor and suitable for beginners to learn HTML language. It is available in all types of versions of Windows, from where you easily access it.

 

Step 1:

Open Notepad (Windows)

 

HTML text Editors

 

Step 2:

Write code in HTML

 

HTML text Editors

 

Step 3:

Save the file with .html / .htm.

 

HTML text Editors

 

Step 4:

Open the HTML page in a web browser.

To run the HTML page, you need to open the file location, where you have saved the file, and then either double-click on the file or click on open with the option

 

HTML text Editors

 

HTML text Editors

 

HTML code with Sublime Text-editor:

 

When you will learn the basics of HTML, then you can use some professional text editors, which will help you to write efficient and fast code. So to use Sublime Text editors, first, it needs to download and install from the internet. You can easily download it from this https://www.sublimetext.com/download link and can install it on your PC. When the installation of Sublime text editor done then you can follow the simple steps to use it:

 

Step 1:

Open Sublime Text editor

 

HTML text Editors

 

Step 2:

Save the HTML page before writing any code.

To save your page in Sublime Text press Ctrl+S or go to the File option ⤏ save, to save a file use extension .htm or .html. We recommend saving the file first then write the code because after saving the page sublime text editor will give you suggestions to write code.

 

HTML text Editors

 

Step 3:

Write the HTML code in Sublime Text editor

 

HTML text Editors

 

Step 4:

Open the HTML page in your Browser

To execute or open this page in a Web browser just right-click by mouse on the sublime text page and click on Open in Browser.

 

HTML text Editors

 

HTML text Editors