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” or “.htm”. Some of the popular HTML text editors are given below:
- Sublime Text 3
- GeeksforGeeks IDE
Steps to write HTML code in Editor:
- Open any of the text editors of your choice. Here we are using the notepad text editor.
- Create new file: File->New File or Ctrl+N.
- Write HTML code in text editor.
- Save the file with a suitable name of your choice and .html extension.
- 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.