Episode 5.2
HTML FUNDAMENTALS
Class 11 (10+1) β’ Unit 5: HTML Fundamentals
π‘ Direct Stream: You can also watch directly on YouTube or via local server:
πΊ Watch on YouTube.com
Episode code: 5.2
βοΈ Episode 5.2 Topic Notes
π 1: Welcome & Overview
- Topic: The Foundational Skeleton of the World Wide Web
- Every Web Page Begins with HTML: Every web page on the internetβfrom simple blogs to massive portals like Google and Wikipediaβis constructed using HTML (HyperText Markup Language).
- HP Board Examination Blueprint:
- What is HTML? History, Tim Berners-Lee, and the W3C standards (2-3 Marks).
π 2: What is HTML & How the Web Works
- Definition of HTML:
- HyperText: Text containing hyperlinks that connect to other web pages or external resources across the globe.
- Markup Language: A system of annotating documents with tags that instruct a web browser how to format, structure, and display raw content.
- Origins & Development:
π 3: Tags, Elements & Attributes
- 1. HTML Tags:
- Keywords surrounded by angle brackets:
<tagname>(Opening tag) and</tagname>(Closing tag). - The forward slash
/indicates the end of an element. - HTML is case-insensitive (e.g.,
<BODY>is equivalent to<body>), but the W3C strongly recommends lowercase syntax for cleaner standards.
π 4: The Essential Skeleton of an HTML Document
- The Standard HTML5 Boilerplate Structure:
- Dissecting Each Component:
<!DOCTYPE html>: Document Type Declaration. Tells the browser that the document is written in modern HTML5. It is NOT a tag and requires no closing tag.<html>...</html>: The root element that encloses the entire HTML document.
π 5: The Head vs. Body Sections
- The
<head>Section: - Think of
<head>as the "brain" or backstage setup of the page. - Holds metadata (
<meta charset="UTF-8">), page title (<title>), CSS styles (<style>,<link>), and JavaScript (<script>). - Important Rule: Only metadata belongs in
<head>. Never put visible text or images here.
π 6: Practical Workflow: Notepad to Browser
- Step-by-Step Hands-on Process:
- Click File -> Save As.
- Choose file name:
mypage.html(orindex.html). - CRITICAL STEP: In "Save as type", choose All Files (*.*). (If left as Text Documents, Windows will save it as
mypage.html.txt!).