Tutorialspoint.dev

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++
  • Sublime Text 3
  • Atom
  • GeeksforGeeks IDE

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

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

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

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

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.
    open editor
  2. Create new file: File->New File or Ctrl+N.
    create new file
  3. Write HTML code in text editor.
    write html code
  4. Save the file with a suitable name of your choice and .html extension.
    save file
  5. Open the saved HTML file in your favourite browser (double click on the file, or right-click – and choose “Open with”).
    open in browser

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

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



This article is attributed to GeeksforGeeks.org

leave a comment

code

0 Comments

load comments

Subscribe to Our Newsletter