CodesJava

Easy learning with example program codes

Text Editors in HTML

HTML text Editors

To create an HTML file any text editor can be used, as an HTML file is a text file only. There are numerous available text editors however for beginners Notepad (Windows) or TextEdit (Mac) is recommended. Text editors like Notepad++, Sublime Text, Vim, etc.are recommended for the professionals.

 

HTML code with Notepad:

Notepad is a simple text editor and is available in all versions of Windows.

Step 1: Open Notepad.

Step 2: Write the HTML code.

Step 3: Save the HTML file with .htm or .html extension.

Step 4: Open the file location.

Step 5: Double-click on the file and open the HTML page in a web browser.

 

HTML code with Sublime Text-editor:

Step 1: Download and install Sublime Text editors from the link:

https://www.sublimetext.com/download link.

Step 2: Install it in your PC.

Step 3: Go to the Start screen.

Step 4: Type Sublime Text.

Step 5: Open the Sublime Text editor.

Step 6: Press CTRL+N and open a new page.

Step 7: Save the page using extension .htm or .html. before writing any code. After saving, suggestions will be provided by the editor.

Step 8: Write the code in Sublime Text editor.

Step 9: Right-click the mouse on the sublime text page.

Step 10: Click on Open in Browser.

Please follow and like us:
error
Posted in HTML   









Copyright © 2019 CodesJava DMCA.com Protection Status