HTML (HyperText Markup Language) is the standard language used to create and design web pages. It describes the structure of a webpage using a series of elements or tags. Each tag tells the browser how to display the content.

HTML is the foundation of all web pages — every website you visit is built using HTML. It is not a programming language; it is a markup language used to organize and display text, images, videos, and links on a webpage.

🧱 Basic Structure of an HTML Document
<!DOCTYPE html>
<html>
          <head>
                   <title>
                             My First Web Page
                   </title>
          </head>
          <body>
                    <h1>
                             Welcome to HTML
                    </h1>
                    <p>
                             This is my first paragraph in HTML.
                   </p>
          </body>
</html>
⚙️ Main Components
  1. – Declares the document type and version (HTML5).
  2. – The root element that wraps all the content.
  3. – Contains meta information like title, styles, and links.
  4. – Contains all visible content like headings, paragraphs, and images.
🌟 Key Features
  • Uses tags to define elements.
  • Supports links, images, audio, and video.
  • Works with CSS (for styling) and JavaScript (for interactivity).
  • Platform-independent – runs in all browsers.
  • HTML5 adds new semantic tags like <header>, <footer>, <article>, and <section>.
📘 Example
<h1>
         Hello, World!
</h1>
<p>
        HTML is easy to learn and fun to use.
</p>

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *