HTML | Editors

HTML text editors are used to create and modify web pages. HTML codes can be written in any text editors including the notepad. One just needs to write HTML in any text editor and save the file with an extension “.html”. Some of the popular HTML text editors are given below:

Notepad: Notepad is a simple text editor. It is an inbuilt desktop application available in Windows OS.

Bracket: Bracket is an open-source software primarily used for Web development. It provides live HTML, CSS, JavaScript editing functionality.

Sublime Text 3: Sublime is a cross platform code editor tool. It supports all markup languages.

Atom: Atom is an open source code editor tool for MAC, Linux and Windows.



Steps to write HTML code in Editor:

  1. Open any of the text editors of your choice. Here we are using the notepad text editor.
  2. Create new file: File->New File or Ctrl+N.
  3. Write HTML code in text editor.
  4. Save the file with a suitable name of your choice and .html extension.
  5. Open the saved HTML file in your favourite browser (double click on the file, or right-click – and choose “Open with”).

GeeksforGeeks IDE: It is an online code editor to test the code. It provides the shareable link to share code with others.

filter_none

edit
close

play_arrow

link
brightness_4
code

<html>
  <head>
    <title>HTML Text Editor</title>
    <style>
       h1 {
          color:#009900;
       }
    </style>
  </head>
  <body>
    <h1>GeeksforGeeks</h1>
  </body>
</html>
chevron_right

Article Tags :
Practice Tags :