HTML Basics
HTML is short for Hyper Text Markup Language. This type of document will have a file extention name of ".htm" or ".html". The HTML document or file can be read using internet browsers such as Microsoft Internet Explorer or Netscape. It also can be read in its bare source code using basic software such as Microsoft Notepad for Windows or Winword. HTML documents can be created or edited using HTML editors such as Microsoft FrontPage Express or Macromedia Dreamweaver. HTML has since been developed further to xHTML and dHTML.
Generally, HTML is a text based coding document. Hence, it can be created and edited using a text document editor; but it must be written in its source coding.
Simple HTML Source Codes
| This code must be at the first line of the document. | |
|
|
This must be the last code of the document. |
| Indicates the document title has ended. | |
| Marks the start of the document body format. | |
| Marks the end of the document body format. | |
| Marks the start of a new paragraph. | |
| Marks the end of the paragraph. | |
| Means line break. | |
| Marks the start of the font format. | |
| Marks the end of the particular font format. | |
| Formats the following fonts to have the size of n pixels. | |
| Formats the following fonts to be in ###### color. | |
| Formats the following fonts to be italic. | |
| Ends the italic format. | |
| Formats the following fonts to be BOLD | |
| Ends the BOLD formating. | |
| Formats the following fonts to be underlined. | |
| Ends the underlined font format. |
Example 1:
Internet Browser Display:
Hello, I am Sawa Emas.
Hello, can I be your friend?
Source Coding:
Hello, I am <font color="#ff0000">Sawa Emas</font>.<br>Try it!!
Type the html codings above using Notepad and save the file as [All Files (*.*)] example1.html. Then open it using your Internet Browser.
Did it work? Did you manage to get it right? e-mail me ... [email protected].
�
| Do you have any tips to share? E-mail them to Sawa Emas today. | ||