Learn HTML For Beginners

Getting Started with HTML

HTML can be edited by using professional HTML editors. However, for getting started with HTML we recommend a text editor like notepad. We believe using a simple text editor is a good way to learn HTML. Follow the 4 steps below to create your first web page with notepad.

Step 1: To Open Notepad

To open Notepad follow these steps:

  1. Click on START button on the left bottom of the screen.
  2. Click on All PROGRAMS option.
  3. Then click on ACESSORIES option.
  4. Then open NOTEPAD.

Step 2: Edit Your HTML with Notepad

Type your HTML code into your Notepad:

	<title>My First Program</title>
	<h1>My First Program</h1>
	<p>Congratulation! it is your first HTML page</p>

Step 3: Save Your HTML

Select Save as in Notepad's file menu. When you save an HTML file, you can use either the .html file extension.

Step 4: Run the HTML in Your Browser

Start your web browser and open your html file from the File, Open menu, or just browse the folder and double-click your HTML file.

In the browser you can see the content written inside the <body> tag. Then text in the <title> tag displays in the title bar of the browser as you can see text in side in the RED rectangle in the above image. The <title> tag defines the title of the html document and it always comes inside the <head> tag.