Wednesday, July 7, 2021

HTML Text Editors : html text editor- HTML Tutorial

HTML Text Editor:

  •  An html file is a text file, so to create an html file we can use any text editors.
  • Text editors are the programs which allow editing in a written text, hence to create a web page we need to write our code in some text editor.
  • There are various types of text editors available which you can directly download, but a beginner, the best text editor is notepad.
  • After learning the basics, you can easily use other professional text editors which are, Notepad++, Sublime text, Vim, etc.
  • In this tutorial, we will use Notepad and sublime text editor. Following are some easy ways to create your first web page with Notepad, and sublime text.

            1. HTML code with Notepad: Notepad is a simple text editor and suitable for beginners to learn HTML. It is available in all versions of Windows, from where you easily access it.

Step 1:- Open Notepad:

Step 2:- Write code in html:

Step 3:- save the html file with .html extension.

Step 4:- Open the html page in your web browser.-

            To run the html page you need to open the file location where you have saved the file and then either double-click on file or click on open with option;



    
        2 HTML CODE WITH SUBLIM TEXT EDITOR:-
When you will learn the basics of html then you can use some professional text editors which will help you to write an efficient and fast code. so to use Sublime text editors first it needs to download and install from internet. You can easily download it from this  https://wwww.sublimetext.com/download Link and can install in your PC. When installation of sublime text editor done then you can follow the simple steps to use it:

            Step 1 :- Open Sublime Text editor :- To open sublime text editor got start screen-----type sublime text----Open it. To open a new page press CTRL+N.

Step 2 :- Save the page before writing any code:- To save your page in sublime text press Ctrl+S , to save a file use extension html. We recommend to save the file first then write the code because after saving the page sublime text editor will give you suggestions to write code.

Step 3:- Write the code in sublime text editor:

Step 4:- Open the html page in your browser:- To execute or open this page in web browser just right click by mouse on sublime text page and click on open in browser.




0 comments:

Post a Comment