Goal: Learn the basics of HTML and understand how to structure a web page.

It provides the structure of web pages.
Works alongside CSS (for styling) and JavaScript (for interactivity).
Browsers read HTML to render web pages.
Every HTML document follows a standard structure.
<!DOCTYPE html> → Declares the document as an HTML5 document.
<html> → Root element that contains the entire webpage.
<head> → Holds metadata (information about the page, like title and encoding)
<title> → Sets the title of the webpage (seen in the browser tab).
<body> → Contains all visible content (headings, paragraphs, images, etc.).
An HTML element consists of:
Opening tag (e.g., <h1>)
Content (e.g., "Hello World")
Closing tag (e.g., </h1>)

Used to structure text content.
📌 Note:
<h1> to <h6> define headings (largest to smallest).
<p> defines a paragraph.
Lists organize items in a structured way.
📌 Note:
<ul> creates unordered lists (bullets).
<ol> creates ordered lists (numbers).
<li> defines each list item.
Links & Anchor Tags
📌 Note:
<a> creates a hyperlink.
href specifies the destination URL.
target="_blank" opens the link in a new tab.
Forms collect user input.
📌 Explanation:
<form> → Creates a form.
action → Defines where form data is sent (server-side script).
method="post" → Sends data securely (not visible in the URL).
<input> → Creates input fields.
type="text" → Defines a text field.
required → Makes a field mandatory.
<button> → Submits the form.
Different Input Types
4. Tables & Multimedia (10 mins)
Creating a Table
📌 Explanation:
<table> → Defines a table.
<tr> → Defines a row.
<th> → Defines a table header.
<td> → Defines a table cell.
Adding Images & Videos
📌 Explanation:
<img> → Used to add an image.
<video> → Embeds a video.
controls → Enables play/pause buttons.
5. Semantic HTML & Best Practices (10 mins)
📌 Explanation:
<header> → Contains the website title/logo.
<nav> → Holds navigation links.
<section> → Groups related content.
<footer> → Contains footer information.
Why Use Semantic HTML?
💡 Task: Create a webpage using headings, lists, forms, tables, and media elements.