Friday, June 13, 2014

Learning HTML-3



Using Notepad or TextEdit you can write HTML

There are many professional HTML editor like as:
  1. Adobe Dreamweaver
  2. Microsoft Expression Web
  3. CoffeeCup HTML Editor
However, for writing  HTML you recommend a text editor like Notepad (PC) windows or TextEdit (Mac).
You believe using a simple text editor is a good way to write HTML code.
Now follow the 4 steps below to create your first web page with Notepad.

Step-1: Open Notepad

To open Notepad in Windows 7 or earlier:
Click Start (bottom left on your screen). All Programs Accessories. Notepad.
And to open Notepad in Windows 8 or later:
Open the Start Screen (the window symbol at the bottom left on your screen). Type Notepad.

Step-2: Now write Some HTML code.

Write or copy then paste some HTML code into Notepad.

Example

<!DOCTYPE html>
<html>
<body>

<h1>It’s my first Heading</h1>

<p> It’s my first paragraph.</p>

</body>
</html>



Step-3: Save this notepad in HTML format.

Save the file on your computer.
Select File Save as in the Notepad menu.
When saving an HTML file, use either the .htm or the .html file extension. There is no difference.

Step-4: View  this HTML Page in Your Browser

Double-click your saved HTML file, and you  will be  look result  like this.

html para

No comments:

Post a Comment