Home | Add to Favorites | Ebooks Directory | News  
HTML Resources
Home
HTML  Article
HTML  Tutorial 
HTML Guide
Books
HTML Code
HTML Editor
HTML Tutorial


Introduction to HTML

HTML is expanded as "Hypertext Markup Language".It is a language which is used to format the text displayed (structure of the content is formatted) and not a
programming language

The text displayed is formatted by embedding the text in between the start tag element and end tag element .The Whole content is embeeded between
<html> and </html>tags


 

Example 1

Displaying Hello World text in the browser

The text between the <title> and </title> tags displays the text in the title bar of the web browser window.The <title> tags must be enclosed within <head>
and </head> tags. Everything has to be embedded within <html> and </html> tags and the file
containing the content must be saved with .html extension

<HTML>
 <HEAD>
         <TITLE>
         HELLO WORLD SAMPLE HTML CODE
         </TITLE>
 </HEAD>
HELLO WORLD
</HTML>



 
Example 2
Applying style to the font of the text displayed

The use of <font> and </font> tags is to apply the appropriate font-styles like font family type of font like Times new Roman, Arial , etc,...),size of the text, color of the text.

<HTML>
<HEAD>
<TITLE>
HELLO WORLD SAMPLE HTML CODE
</TITLE>
</HEAD>
<BODY>
<FONT FACE="Arial" SIZE=3 COLOR="red">
HELLO WORLD
</FONT>
</BODY>
</HTML>