HTML Introduction

HTML stands for Hypertext Markup Language. Hypertext is a way to link the text. Markup language defines the definition and presentation of a text or marking up text into a structural unit like headings, paragraphs etc. HTML is a markup language used to create web pages. It describe the structure and presentation of web pages. It is very simple to learn and use.

HTML invented by Tim Berners-Lee and extended from SGML(Standard Generalized Mark-up Language). HTML first version was released in 1991. HTML5 is the latest version, published in 2014.


HTML File

A HTML file is a text file, that contain markup tags and contents. A browser reads the HTML file and display the contents.

HTML File Extension

HTML file must have .html or .htm file extension.
.htm extension used in the past, when some of the software was allowed only three letter extension. Now, everyone consistent with .html extension.

The basic structure of HTML Page is -

<html>
<head>
	<title>Web Page title is to written here.</title>
</head>
<body>
	<p>This is the content within paragraph opening and closing tags</p>
</body>
</html>
    

Copy and paste the above code in a text file. Save the file as samplepage.html. Start your browser. Type the file name proceed with drive and directory name. For example, suppose you have saved this file within C drive and basichtml folder. Then the browser address will be -
'C:\basichtml\samplepage.html'.

The browser will display the content written within the body element.







Read more articles