HTML is a Markup language that is used to create the structure of a web page, and it is an essential language for web designers (Frontend Developers).
How is a web page structured?
The structure of a web page is made using lots of elements like Headings, Paragraphs, Links, Tables, Lists, Images, etc. Here HTML helps us to create these kinds of elements on a web page. See the following image –

Website VS Web page
A website is a collection of web pages and their assets (images
, CSS
, JS
, etc). On the other hand, web pages are created by coding in HTML Language.
So basically it means, to build a website we have to build the web pages that the website needs.

Types of web pages
There are basically two types of web pages – Static and Dynamic, and HTML is used to create static
web pages.
Static Web Pages
Web pages with fixed content are called Static web pages. The content of this type of page is manually changeable by the user.
Dynamic Web Pages
Dynamic Pages are the opposite of static pages. The content of the dynamic pages can change automatically according to a User or a Database or a Program.
If you want to create a dynamic website like Facebook, you have to use programming or scripting languages (PHP
, JavaScript
) with HTML.
A bit of history of HTML
Hypertext Markup Language, often abbreviated as HTML was invented by Sir Tim Berners-Lee in late 1991, but it was not released officially. The HTML-2.0
was the first standard HTML version published in 1995.
HTML is not a programming language, it is a markup language because it is not for creating programs and it cannot, it is for creating the structure of web pages.