In this article we will understand what is html (Hyper Text Markup language).
What is HTML?
HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language. Let's see what is Hyper Text and what is Markup Language?
Hyper Text: Hypertext is text which contains links to other texts. Every time when you click on a word which brings you to a new webpage, you have clicked on a hypertext.
Markup language: A markup language is a programming language that is used make text more interactive and dynamic. It can turn a text into images, tables, links etc.
An HTML document is made of many HTML tags and each HTML tag contains different content.
Let's see a simple example of HTML
<title>My Page Title</title>
<h1>My First Heading</h1>
<p>My First Paragraph.</p>
Description of above HTML Example
The <!DOCTYPE html> declaration defines this document to be HTML5
The <html> tag is the root element of an HTML page
The <head> tag contains meta information about the document
The <title> tag specifies a title for the document
The <body> tag contains the visible page content
The <h1> tag defines a large heading
The <p> tag defines a paragraphLet's check live example