Internet Programming Laboratory

Unit 2: Advanced HTML5 & Responsive Design

Lists, Links, Images, Media, Tables, and HTML5 Forms — build real web pages that work on every device.

🏢 Industry-Aligned  |  📝 15 MCQs (Bloom's Taxonomy)  |  🔬 5 Lab Exercises  |  💼 Interview Prep

Section 1

Why This Chapter Matters in 2025

Unit 1 gave you the skeleton. Unit 2 gives you the muscles and organs. Every real website needs: navigation lists, clickable links, optimized images, embedded videos, data tables, and user input forms. This unit covers every one of these — using modern HTML5 standards that Indian IT companies expect in 2025.

🏢 Industry Connection — Who Uses These Features?

IRCTC — India's largest booking platform relies on HTML5 forms with 15+ input types (date pickers, dropdowns, radio buttons) to book 15 lakh tickets daily. A single validation error = thousands of failed bookings.

Swiggy — Every restaurant menu is a nested list (<ul> inside <ul>). Every dish image uses srcset for responsive loading — serving smaller images on mobile to save bandwidth.

OYO — Hotel listings display room details in accessible tables with scope and caption. Their booking form uses HTML5 validation attributes (required, pattern, min, max) for client-side validation before the data even hits the server.

🇮🇳 IRCTC🇮🇳 Swiggy🇮🇳 OYO🇮🇳 Zepto

Prerequisite Checklist ✅

  • ✅ Unit 1 completed — HTML5 document structure & semantic elements
  • ✅ Comfortable with <header>, <main>, <article>, <section>
  • ✅ Can create a valid HTML5 page from scratch
Section 2

Learning Outcomes — Bloom's Taxonomy

Bloom's LevelLearning Outcome
L1 — RememberRecall the syntax and purpose of all HTML5 form input types (text, email, date, range, color, tel, number, search)
L2 — UnderstandExplain how srcset and loading="lazy" optimize image performance on mobile networks
L3 — ApplyBuild a complete, accessible HTML5 form with client-side validation using required, pattern, min/max
L4 — AnalyzeAnalyze a data table and determine the correct use of scope, caption, colspan, and rowspan for accessibility
L5 — EvaluateEvaluate whether a given form design meets UX, accessibility, and validation best practices for an Indian fintech app
L6 — CreateDesign and build a complete multi-step booking form (IRCTC-style) with all HTML5 input types and native validation