Html Code/Text Editor


For creating a html web page we need a code editor where we can write or modify our html code. There are large number of code editors available for windows, mac and Linux operating system. Some are free to download but some paid softwares. Some already installed in our operating system like notepad in windows. In my opinion you can download sublime text 2 or sublime text 3 from search on google. This is very nice code editor for any programming language. There are also large number of plugins available for sublime text as per user need. Mostly developer prefers to sublime text editor i think you should try it once or you can use already built in windows application notepad.

How to create a new html page

This is very easy to create a new html page. You can create a html page just like a new file. So first open your text editor go on file section and click on new file. It creates a new file for you and you can save this file without type a single code as html or can modify later let see how.

1. Open Text editor -> Open File menu -> Click on New File link
2. Save as yourfilename.html or yourfilename.htm

Type your html code in this file and open this file in any web browser like Internet explore, chrome, mozila firefox, safari etc. Or you can use any browser of your choice for see the output of html code.

Let see again how to create or use new html page in easy steps.

1. Open Text editor

Open text editor create a new file and start writing html code.

2. Write html code

Write or copy this code and paste it into notepad or any text editor of your choice.

	<!DOCTYPE html>
	<html>
	<body>
		<h1>My First Heading
		<p>My first paragraph.</p>
	</body>
	</html>
Wconcert Images

3. Save html file

Open text editor File menu, select Save as, Give name the file filename.htm or filename.html

Wconcert Images

Note : If you are creating a home page of web site than give it to name index.html, By this way you can easily identify and this is a default name of main file. In another way you can give any name of your choice like home.html, main.html

4. Open html file in browser

Open the saved html file with any browser of your choice and let see how look your first html web page. For doing this double click on html and file and select open file with browser.

Wconcert Images

Wconcert India © 2015   ·   All Rights Reserved

Free Web Hosting