IT-rocks's Place

Basic HTML for Beginners

Thursday, July 17, 2008 by Thao Nguyen

1. What is HTML?

  • HTML is an abbreviation of Hyper Text Markup Language.
  • An HTML file is a text file containing small markup tags.
  • Those tags instructs your web browser how to display your web pages.
  • An HTML file must have an htm or html extension.
  • It can be created by text editor.

2. Writing HTML

If you use Windows, you can use Notepad that is already built into the operating system to write HTML. This is all HTML editor we will ever need.

Now, let's get started. If you are using Windows ->open Notepad

If you are using Macs ->open Simple Text

Type in the following text:

<html>
<head>
<title>Title of page</title>
</head>
<body>
This is my first homepage. <b>This text is bold</b>
</body>
</html>

3. Save your HTML to a file

This is a tricky part. Notepad usually saves file as .txt. But, since you write HTML, you must save your file as .html. If you are not careful, your file will be ended up with a name like filename.html.txt.

Here is show you how to avoid those mistakes

  • Click on "File" and then "Save As"
  • Navigate to the folder you want to save in
  • Change the "Save As Type" drop-down menu to "All Files (*.*)"
  • Name your file, be sure to include the .htm extension e.g. homepage.htm

Remember learning HTML is not as hard as you though; and you needn't buy any additional software in order to bring up to your webpages. With Notepad, you can write complex or simple HTML, and once you are getting familiar with, you can edit pages as quickly as someone having expensive HTML editor.

Related Posts by Categories



Filed under having  

Subscribe in a reader

Add to Technorati Favorites

0 comments: