Course Content
HTML Introduction
0/1
HTML Editors
0/1
HTML Basic Tags
0/1
HTML Elements
0/1
HTML Attributes
0/1
HTML Headings
0/1
HTML Paragraph
0/1
HTML Text Formatting
0/1
HTML Meta Tags
0/1
HTML Quotations
0/1
HTML Comments
0/1
HTML Images
0/1
HTML Background
0/1
HTML Colors
0/1
HTML Lists
0/1
HTML Tables
0/1
HTML Forms
0/1
HTML Spell Check
0/1
HTML Media
0/1
HTML Marquees
0/1
HTML CSS
0/1
HTML Links
0/1
HTML Block & Inline
0/1
HTML Classes
0/1
HTML Id
0/1
HTML I frames
0/1
HTML Java script
0/1
HTML File paths
0/1
HTML Layout
0/1
HTML Responsive
0/1
HTML Computer Code
0/1
HTML Tutorial
About Lesson

HTML Editors

In this tutorial, we will learn about different types of HTML Editors and their features.


Editors

Webpages can be created and modify by using professional HTML editors. HTML codes can be written in any text editors including the Notepad (windows) and TextEdit (Mac). A simple text editor is all you need to learn HTML. You just needs to write HTML in any text editor and save the file with extension(.html).


Open-source and Free Editors

However, for learning HTML we recommend some popular and open source text editors:

  • Notepad
  • Notepad++
  • Atom
  • Sublime Text 3
  • Bracket
  • Visual Studio Code

Steps to write and save code in Editor

Step 1: Open Notepad (Windows)/ Open TextEdit (Mac)

For Windows 8 or later:

Open the Start Menu (or click on the windows button on keyboard) and type Notepad.

For Windows 7 or Earlier:

Open Start > Program > Accessories > Notepad

For mac:

Open the Finder > Apps > TextEdit.

 

Step 2: Write or copy the following HTML code into Notepad/TextEdit:

Hello World Program –

<!DOCTYPE html>
<html>
  <head>
    <title>Hello!</title>
  </head>
  <body>
    <h1>Hello World!</h1>
    <p>This is a simple paragraph.</p>
  </body>
</html>

 

notepad-1
Notepad HTML Code
Textedit-1
Textedit HTML Code

Step 3: Save the HTML Page

Save the file on your computer. Select File > Save as in the Notepad / TextEdit menu

Name the file index.htm or index.html and set the encoding to UTF-8(Which preferred encoding for HTML files)

 

notepad-2
Notepad Saving HTML Code
Textedit-2
Textedit Saving HTML Code

Step 4: View the HTML Page in Your Browser

Open the saved HTML file in your favorite browser (right-click and select open with option).

The result will look like this:

notepad-3
Notepad HTML Code Output
Textedit-3
Textedit HTML Code Output

We hope that this tutorial helped you develop better understanding of the concept of editors in HTML.

error: Content is protected !!