Saturday, March 23, 2019

HTML: Editor


HTML: Editor

       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:
·        Notepad: Notepad is a simple text editor. It is an inbuilt desktop application available in Windows OS.
·        TextEdit: TextEdit is also a simple text editor. It is an inbuilt application available in MAC.
·        Notepad++: Notepad++ is a text editor and source code editor. It supports tabbed editing, which allows working with multiple open files in a single window.
·        Brackets: Bracket is 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

Follow the five steps below to create your first web page:
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 with either .htm or  .html (There is no difference, it is upto you).
5.    Open the saved HTML file in your favorite browser (double clicks on the file, or right-click – and choose “Open with”).

The result will look much like this:

No comments:

Post a Comment