What is HTML

Hyper Text Mark Up language or HTML, is the most commonly used language on Web. It is a mark up language, as it contains markup tags or tags. HTML is used to write content or structure of web pages. It is also known as Building Block of a website. Browsers understand html tags and render content. HTML is Browser Interpreted language, thus render fast.

HTML is not a programming language.

HTML Structure

HTML Structure

HTML Invention

HTML was invented in 1990 by a CERN scientist Tim Berners-Lee. The purpose to invent HTML was to make it easier for research scientists and professors at different universities around world to gain access to each other's research works. The project became a bigger success than Tim Berners-Lee had ever imagined. By inventing HTML, he laid the foundation for the web as we know it today. HTML language makes it possible to present information (e.g. scientific research) on the Internet.

What you see when you view a page on the Internet is your browser's interpretation of HTML. To see the HTML code of a page on the Internet, simply click "View" in the top menu of your browser and choose "Source". Or press ctrl + u

How to build a website using html

  1. Open Notepad, Notepad++, Brackets, Sublime Text or any code editors.
  2. Create the doctype of webpage. e.g. <!DOCTYPE html>
  3. Create Parent html tag e.g. <html> </html>
  4. Create head tag inside html tag, e.g. <head> </head>
  5. Create body tag after head closing, e.g. <body> </body>
  6. Add title tag inside head, e.g. <title> </title>
  7. Add meta tag inside head, e.g. <meta charset="utf-8">
  8. Save page as index.html file on your system.
  9. Double Click the file and your webpage is live on browser.

A Sample HTML Page

<!DOCTYPE html>
<html lang="en">
<title>Your Title</title>
<meta charset="UTF-8">
//Content of your webpage </body>


Tag-Name Description
<!DOCTYPE html> Defines the type of web document. Currently i am using HTML-5 doctype. Doctype is not a tag
<html> HTML tag is the parent tag of our webpage.
<head> Head tag is first child of html tag and is used to write the information for web browsers and Search engines.
<title> Title tag is used only once inside head tag. Title tell the search engines the about the webpage. Its max character limit is 60-70. Title should be unique for every webpage.
<meta> Meta tag is used to define the charset family, description, keywords, Author, robots and Geo Location of the website.
<link> Link tag is used to link external css, favicon icon, publisher and canonical of the webpage.
<script> Script Tag is used to attach external javascript, jquery, and AngularJS scripts with the webpage.
<body> Body tag is used to create the webpage structure. Structure includes Headings, Paragraphs, images, tables, division, etc of the webpage. Body includes all the content which users see on a website.

Overall, there are 140+ Tags in HTML5. These tags are explained one by one in our next article.