HTML stands for HyperText Markup Language used to create web pages. It is very easy to learn and use. HTML is the combination of HyperText and Markup language, where HyperText means links to another text, and Markup language means it defines the structure and layout of text, images, videos, etc to the web pages.
Example of HTML Document
<!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> <h1>First Heading</h1> <p>Paragraph content</p> </body> </html>
Where –
- <!DOCTYPE html> – The DOCTYPE defines which version of HTML document we are using. The <!DOCTYPE html> defines the document is written in HTML5.
- <html> – It is the root element of HTML document.
- <head> – It contains title and meta descriptions of web page.
- <title> – It specifies the title of web page. It render on the browser title bar (page tab).
- <body> – It specifies the body element of document that are visible on web page. it contains heading, paragraphs, images, tables, hyperlinks, etc.
- <h1> – It defines the large heading.
- <p> – It defines the paragraph text content.
Steps to Run HTML Document
Running an HTML document is very simple and it only required text editor and web browser.
- Open any text editor like – Notepad, Notepad++, Atom, Sublime Text or any other.
- Write/paste HTML code to the text editor.
- Save the file with .html extension (for example index.html).
- Now open the saved file on web browser, it will run and display the web page.
History of HTML
HTML was developed by Tim Berners-Lee in 1991. It was used to structure and present the content on world wide web.

Note:
- Tim Berners-Lee invented HTML in 1991 but officially it was launched in 1993.
- First draft of HTML5 was created in 2008, but it was launched in 1014.
Why to Learn HTML?
HTML is the foundation of web development. If you start your journey as a web developer, then it is essential to lean HTML. There are some reasons why to learn HTML.
- HTML is essential for web development.
- It is easy to learn and beginner-friendly.
- It works with CSS and JavaScript to build dynamic and interactive web page.
- It helps to understand web pages better by using inspect element and edit the code.
- High demands in company for Web Developer.