🎬 Video Lecture 📊 Presentation Slides 📝 Practice Quiz 📁 Unit 5 Hub
Episode 5.4

HTML VISUALS & FORMATTING

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.4
📊 Slide Deck 📝 Take Quiz
⬅️ Previous Episode 🏠 Unit Overview Next Episode ➡️

✍️ Episode 5.4 Topic Notes

📌 1: Welcome & Overview

  • Topic: Enhancing Web Pages with Typography, Scientific Formulas & Images
  • Visual Engagement on the Web: A plain wall of unformatted text repels visitors. HTML provides dedicated formatting tags for typographic emphasis, scientific formulas, and multimedia embedding with the <img> tag.
  • HP Board Examination Blueprint:
  • Physical text formatting: <b>, <i>, <u>, <s>, <mark> (3 Marks).

📌 2: Text Styling & Semantic Typography

  • Physical Formatting Tags (Purely Visual):
  • <b>...</b>: Bold font weight.
  • <i>...</i>: Italicized (slanted) font.
  • <u>...</u>: Underlined text.

📌 3: Subscript (`<sub>`) & Superscript (`<sup>`)

  • Formatting Formulas & Math:
  • Subscript (<sub>...</sub>):
  • Lowers text below the baseline and decreases font size.
  • Used for chemical formulas and base notations:

📌 4: The Image Tag (`<img>`) & Core Attributes

  • Anatomy of the <img> Tag:
  • It is an Empty (Void) Tag: It does NOT have a closing tag (</img> does not exist).
  • Basic Syntax: <img src="images/banner.jpg" alt="School Campus" width="600" height="300">
  • Core Attributes:

📌 5: Relative vs. Absolute File Paths

  • Understanding Path Architecture:
  • Relative Paths (Portable & Recommended):
  • Points to a file relative to the current HTML document.
  • If in the same directory: <img src="logo.png">

📌 6: Practical Demonstration & Code Walkthrough

  • Sample Code: