Introduction to HTML - full form, tags and examples

html full form

HTML Full Form

HTML stands for “Hypertext Markup Language”. 

Hypertext” means “the text that can be transferred from internet server to internet client”. 

HTML is a markup language. A markup language is a language that syntax will be in the form of tags.

Why is HTML used?

HTML is used to design web pages. That means HTML is used to create elements (such as headings, paragraphs, icons, menus, logos, images, text boxes, buttons, etc.) in the web pages. 

It is an easy language to understand. 

It is a “client-side language”. That means the HTML code executes on the client (browser). 

It is supported by all the browsers such as Google Chrome, Mozilla Firefox, Microsoft Internet Explorer, Safari, Opera and other browsers. 

It is developed by “Tim Berners-Lee” and maintained by “W3C” (World Wide Web). 

It is used in all real web sites today. 

The file extension should be “.html”. 

HTML is the interpreter-based language. That means the HTML code will be converted into machine language in a line-by-line format. Browser interprets HTML code. 

HTML is not a case sensitive language. That means you can write the HTML code in either upper case or lower case.

HTML tags

 A tag is a keyword, enclosed within “<” and “>” in HTML language. 

Syntax: <tag> 

Examples: <br>, <hr>, <b>, etc.

Types of HTML tags

Html tags are basically divided into two types:

Paired Tags:

Tags that are used in pairs i.e. these are tags that contain both starting tag as well as ending tag.

Syntax: <tag> ..... </tag>

Example: <title> Title of the page </title>

Unpaired Tags:

Tags that contain only opening tags. These tags don't require any closing tag.

Syntax: <tag> ....

Example: <hr>, <br>, etc.

HTML program syntax

Every HTML program must have the following syntax so as to get the proper output.

<html>  
<body>   
Your web page content here  
</body> 
</html>

The first example in HTML

Open Notepad / Edit Plus. 

Type the following program: 

<html>   
<body>   
Hello, World   
</body> 
</html> 
 
Go to the “File” menu and click on “Save”. 

Type the file name as “Page1.html”. 

Select the folder as “Desktop”. 

Click on “Save”. 

Go to a desktop folder and double click on “Page1.html”. 

It opens “Page1.html” in the browser (Google Chrome, Mozilla Firefox, Internet Explorer, etc.). 

You will get the output.

Post a Comment

1 Comments

  1. Hello, everything is going sound here and ofcourse every one is
    sharing facts, that's truly good, keep up writing.

    ReplyDelete

We appreciate your comment! You can either ask a question or review our blog. Thanks!!