Hyper Text Markup Language (HTML)

Introduction to HTML

HTML stands for Hyper Text Markup Language. HTML was invented by Tim Berners-Lee, who was then working as a computer and networking specialist at a Swiss research institute. He wanted to give the Institute’s researchers a simple markup language, which would enable them to share their research papers via the Internet. Berners-Lee based HTML on Standard Generalized Markup Language (SGML), an international standard for marking up text for presentation on a variety of physical devices.

An HTML file is a text file containing small markup tags. The markup tags tell the Web browser how to display the page An HTML file must have an .htm or .HTML file extension.

An HTML file can be created using a simple text editor like notepad or wordpad.

Creating an HTML document
Creating an HTML document is very easy. To begin coding HTML , need only two things: a simple-text editor and the dedication to follow this tutorial! Notepad is the most basic of simple-text editors and you will probably code a good amount of HTML with it.HTML is platform independent, you will need to save your HTML files in standard text format. The easy way to do this is use a text editor program like notepad.exe in Windows, pico in Linux, and the like.

<title>My Sample page Title</title>



<h1> This is my First Html Page </h1>



Put the above code in a text file as save the page as “sample.html”.  This will create your first html document.


HTML markup tags are usually called HTML tags

  • HTML tags are keywords surrounded by angle brackets like <html>
  • HTML tags normally come in pairs like <b> and </b>
  • The first tag in a pair is the start tag, the second tag is the end tag
  • Start and end tags are also called opening tags and closing tags
HTML Element
An HTML element indicates structure in an HTML document and a way of arranging content hierarchically. An HTML element is an SGML element that meets the requirements of one or more of the HTML DTDs (Document Type Definitions ). These elements have properties: both attributes and content, as specified (both allowable and required) according to the appropriate HTML DTD . Elements may represent paragraphs, headings, hypertext links, lists, embedded media, and a variety of other structures.
  • HTML documents are text files made up of HTML elements.
  • HTML elements are defined using HTML tags.