Friday, December 20, 2013

HTML Editors

What Is A Word Processor?
A word processor is program which is used to write simple text and format it using different styles of decoration and font size color or font etc. Therefore it is called a word processor because it handles text with formatting and saves files with formatting. Microsoft office is a good example of a word processor. You can design your cv's, product brochures, presentations and other office related reading material in Microsoft word. This will therefore be called a word processor.
What Is Text Editor ?
A text editor is program which deals with only simple text and nothing more. It has nothing to do with any type of style information and formatting. It does not save any font size, font color information. A classic example of a text editor is windows notepad. You can notice easily that it does not save style information and only allows us to type clear text with no extra formatting.
Similar programs are used to write codes of programming languages. We will show you how you can use a simple text editor like Microsoft notepad to edit and save your html files and render them in a browser.

Note : Html can be learned by using a professional html editor like :
  1. Adobe Dreamweaver
  2. Microsoft expressions web
  3. Notepad ++
But senior webmasters recommend that using a simple text editor is the best way to learn html. Therefore we will be using Microsoft notepad. So let’s get started.

Step 1. Opening Notepad On Windows Operating System.
Go To Start > All Programs > Accessories > Notepad
This will launch windows notepad main window and a blank file will be opened automatically for you to put some text in it.
Step 2. Typing Html Code.
Type the following code in the main program window of notepad.

<!Doctype html>
<html>
<body>
<h1>My First Heading</h1>
<p>My First Paragraph.</p>
</body>
</html>

Step 3. Saving Your Document.
Select (save as...) in notepad file menu and type the file name in the name box. When you want to save a file in html format, you can use both (.htm) or (.html) extensions for your file type. There is no difference in both of these file types. Browsers will render both files in the same way. So you should not be confused about that. It’s entirely up to you that which file extension you want to use in your file.

HTML Editors
HTML Editors

No comments:

Post a Comment

All comments are subjected to moderation therefore they may take some time to appear. Thanks for your patience.