Introduction of HTML


HTML Stands for HyperText Markup Language which is used for creating web pages and web applications.

HTML Invented by Tim Berners-Lee in 1990. and Also known as the father of HTML.

HTML is a scripting language. It defines the structure and layout of a document.

Features of HTML

Independent Platform, It is not case sensitive, We can control fonts, sizes, colors, position using CSS

History of HTML

  • Tim Berners-Lee invented WWW in 1989
  • The first version of HTML invented by Tim Berners-Lee in 1991
  • HTML 2.0 which was published in 1995
  • HTML 4.1 which was published in 1999
  • and it was a primary version of HTML history
  • XHTML 1.0 Released in 2000 by W3C
  • HTML 5 Version was published in 2014 by W3C
  • HTML 5.1 is the latest version of HTML.
  • HTML 5.1 2nd Edition is the latest version of HTML.
  • It was released on 1st November 2016.
  • HTML 5.2 Released in 2017 by W3C
  • Follow the below table for History of HTML

HTML Overview

<!DOCTYPE> represents the document type, It tells the browser to display the data.

Basic HTML Tags


Structure Formation

<!doctype html> 
  <title> Document Title </title> 
  <meta description=""  content="" />
   <!-- Content Here -->

What is Tag?

A tag is a command on a web page that tells the browser to do something. Tags are enclosed in less than (<) and greater than (>) signs.

What is Element?

Elements having an opening <tag> and a closing </ tag>

What is Attribute?

Attribute:is used to change the value of an element in HTML

Image tag example: 

<img src=”image.png” />

Note: Some tags are closing by itself. Example is shown below

<img src="" /> <br/> <hr/> 

H1, H2, H3, H4, H5, H6 tags are used for heading and ‘p’ tag is used for paragraph

<h1>  Heading </h1>
<p> Some Lorem Ipsum content here </p>