Lesson 1 of 10 – HTML Introduction
10%
10%

Introduction of HTML

HTML stands for Hyper Text Markup Language. It is the standard markup language used to create web pages and web content.

HTML is the foundation of every website. It tells the browser how to display text, images, links, tables, forms, and other elements on a webpage.

HTML is not a programming language. It is a markup language used to structure content on the web.

What is HTML?

HTML is a markup language for creating web pages. It uses tags and elements to define different parts of a webpage. Browsers read HTML files and display them as web pages.

HTML Elements

HTML elements are the building blocks of HTML pages. Each element usually has an opening tag, content, and a closing tag. Example: <p>Hello</p>

HTML Tags

HTML tags are used to create elements. Tags are written inside angle brackets such as <h1>, <p>, and <a>.

History of HTML

HTML was written by Tim Berners-Lee in 1991. It was developed to help people share and view information on the World Wide Web.

HTML Versions
Version Year
HTML1991
HTML 2.01995
HTML 3.21997
HTML 4.011999
XHTML2000
HTML 52014

Important Facts About HTML

  • The <!DOCTYPE html> declaration defines the document as HTML5.
  • The <html> element is the root element of an HTML page.
  • The <head> element contains metadata and page information.
  • The <title> element sets the title of the webpage.
  • The <body> element contains visible page content.
  • The <h1> element defines the main heading.
  • The <p> element defines a paragraph.
  • The <meta> tag provides metadata like description, keywords, author, and language.
💡 Why Meta Tags Matter
Meta tags do not appear on the page, but they help browsers and search engines understand the webpage.

HTML Editors

HTML files can be created and edited using text editors or special HTML editors. Some editors also provide syntax highlighting, auto-complete, and preview features.

Steps to Create an HTML File

  1. Open a text editor.
  2. Write HTML code.
  3. Save the file with the .html extension.
  4. Open the file in a web browser.

Web Browsers

A web browser reads HTML documents and displays the result as a webpage. The browser interprets the HTML code and shows the final page to the user.

Common Web Browsers

  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Safari
  • Opera
  • Internet Explorer
💡 Remember
HTML gives structure to a webpage. CSS adds style, and JavaScript adds behavior.

🧠 Quiz

HTML stands for?