Chapter 1 deck Chapter 2 deck Chapter 3 deck Chapter 4 deck Chapter 5 deck Chapter 6 deck Chapter 7 deck Chapter 8 deck Chapter 9 deck Chapter 10 deck Chapter 11 deck Chapter 12 deck Chapter 13 deck Chapter 14 deck

Chapter 1: Introduction to Web Technology

21 slides · use ←/→ or Space to navigate, F for fullscreen.

Reading view

Jump to a lesson deck: The Internet: History & How It Works IP Addressing, DNS & Domain Names The Web, Browsers, Servers, URL & HTTP The Internet vs. The World Wide Web Web Technologies & Developer Roles

Chapter 1: Introduction to Web Technology
Fullscreen for presentation · Print / PDF for a handout
1 / 21
Chapter 1

Chapter 1: Introduction to Web Technology

The Internet, the World Wide Web, web technologies and the developer roles that build them.

Lesson

The Internet: History & How It Works

Where the Internet came from and the TCP/IP machinery that moves data around the world.

The Internet: History & How It Works

History of the Internet

The Internet did not appear overnight. It grew in distinct eras, each one adding a capability that made the next possible.

EraMilestone
1960sARPANET launched by the US Department of Defense — the first network connecting universities and research centres.
1970sEmail is invented; the TCP/IP protocol is developed to standardise communication across different networks.
1980sThe Internet expands beyond academia; Tim Berners-Lee invents the World Wide Web (1989).
1990sThe Mosaic browser launches; rapid public adoption; e-commerce and search engines emerge.
2000sSocial media boom (Myspace, Facebook); smartphones and the mobile Internet revolution.
2020sAI, IoT, 5G, Web3, edge computing and large language models reshape the Internet.
The Internet: History & How It Works

How Does the Internet Work?

The Internet is a massive global network of computers and devices interconnected via TCP/IP (Transmission Control Protocol / Internet Protocol), enabling the exchange of data worldwide.

Every device on the Internet has a unique IP address — a numeric label used to route data between machines.

Scale in 2025: 5.4 billion+ users, and roughly 29 billion connected IoT devices.

How data travels

  1. Request sent — you type a URL and your device sends a data request.
  2. DNS lookup — DNS translates the domain name into an IP address.
  3. Routing — routers direct packets across interconnected networks.
  4. Server reply — the web server sends back the requested content.
  5. Rendered — your browser assembles and displays the web page.

Modern connections increasingly use HTTP/3 over the QUIC protocol, and IPv6 addressing.

Lesson

IP Addressing, DNS & Domain Names

IPv4 vs IPv6, the DNS hierarchy, and the rules that govern domain names.

IP Addressing, DNS & Domain Names

Internet Protocol (IP)

An IP address identifies a device so data can be routed to it. There are two versions in use today.

IPv4IPv6
Size32-bit128-bit
FormatFour 8-bit numbers separated by periods — 191.57.126.0Eight groups of four hex digits
Range0.0.0.0 to 255.255.255.255340 undecillion addresses
Capacity~4.3 billion unique addresses (running out)Effectively unlimited
ExtrasOrganisations get assigned IP blocksBuilt-in security (IPsec), auto-configuration, supports IoT & 5G

IPv6 adoption keeps growing: around 47% of Google traffic now travels over IPv6 (2025).

IP Addressing, DNS & Domain Names

The Domain Name System (DNS)

The DNS is a hierarchical, distributed system that translates human-readable domain names (e.g. example.com) into numeric IP addresses (e.g. 192.0.2.1). It is the “phone book” of the Internet.

DNS hierarchy

  • Root — represented by .; the starting point for all DNS lookups.
  • Top-Level Domain (TLD) — .com, .org, .net, .edu, .gov, .io, .ai, .app.
  • Second-Level Domain (SLD) — example.com, registered by individuals or organisations.
  • Subdomain — mail.example.com, blog.example.com, api.example.com.

DNS resolution in five steps

  1. User types a domain name.
  2. Resolver checks its cache.
  3. Root server is contacted.
  4. TLD server is contacted.
  5. IP address is returned.
IP Addressing, DNS & Domain Names

Domain Naming Rules

RuleDetail
Max length255 characters for the full domain; 63 per label
Allowed charactersLetters A–Z, digits 0–9, hyphens (-)
No leading/trailing hyphenCannot begin or end with a hyphen
No spacesSpaces are not permitted anywhere
Case insensitiveEXAMPLE.com = example.com = Example.COM
Label countTypically 2–5 labels separated by periods
TrademarkTrademark owners get domain preference rights

TLD categories

  • Generic TLDs — .com, .org, .net, .info, .biz
  • Sponsored TLDs — .edu, .gov, .mil, .int, .aero
  • Country code (ccTLD) — .my, .uk, .us, .jp, .de, .au
  • New generic TLDs — .io, .ai, .app, .dev, .tech
  • Infrastructure TLD — .arpa (internal DNS use only)
Lesson

The Web, Browsers, Servers, URL & HTTP

The history of the Web, how browsers render it, how servers deliver it, and the URL/HTTP contract between them.

The Web, Browsers, Servers, URL & HTTP

History of the World Wide Web

PeriodMilestone
1989Tim Berners-Lee invents the Web at CERN and creates the first web page.
1991First public website goes live; hyperlinks connect documents globally.
1990sHTML and CSS standards emerge; the browser wars begin.
2000sWeb 2.0: user-generated content, blogs, wikis.
2010sMobile-first design; SPA frameworks (React, Vue, Angular).
2020sAI-generated UIs, Web3 / WebAssembly, edge computing, PWAs.
The Web, Browsers, Servers, URL & HTTP

Web Browsers

A web browser is software that retrieves and renders web content (HTML, CSS, JavaScript) from the Internet, presenting it as interactive pages.

  • Rendering engine — interprets HTML/CSS/JS (Blink, WebKit, Gecko).
  • Dev Tools — inspect elements, console, network, performance.
  • Tab management — isolated browsing contexts, memory per tab.
  • Privacy mode — incognito with no history or cookies.
  • Extensions — add-ons that extend functionality.

2025 market share: Chrome ~65%, Safari, Edge ~5%, Firefox ~3%, Others ~8%. AI sidebars (Copilot, Gemini) are now standard.

The Web, Browsers, Servers, URL & HTTP

Web Servers

A web server is software (and hardware) that stores, processes and delivers web content to clients over HTTP/HTTPS. When a browser requests a page, the server processes the request and sends back HTML, images, CSS or JSON.

Key functions

  • Store and serve static files (HTML, CSS, images)
  • Run server-side code for dynamic pages
  • Manage HTTPS encryption and TLS certificates
  • Handle load balancing across multiple servers
  • Cache content for performance optimisation
ServerNotes
ApacheOpen-source, cross-platform, module-rich (~25%)
NGINXHigh performance, reverse proxy, event-driven
CloudflareCDN + server, DDoS protection, edge network
Microsoft IISWindows-native, ASP.NET optimised
CaddyAutomatic HTTPS, modern config, Go-based
ServerlessAWS Lambda, Vercel, Netlify — no server management
The Web, Browsers, Servers, URL & HTTP

URL & HTTP / HTTPS

A URL (Uniform Resource Locator) points at a resource:

https://www.utem.edu.my/bitm2113/rajah1.png
 scheme   host            path        resource

HTTP request structure

  • Request line — method + URL + version
  • Methods — GET, POST, PUT, DELETE, PATCH
  • Headers — user-agent, content-type
  • Optional body — form data, JSON payload
VersionCharacteristic
HTTP/1.1One request per connection; persistent keep-alive
HTTP/2Multiplexing; header compression; binary protocol
HTTP/3QUIC (UDP-based); faster; ~30% of web traffic (2025)
HTTPSTLS encryption; mandatory for all modern sites
Lesson

The Internet vs. The World Wide Web

Two terms people confuse constantly — here is the clean distinction.

The Internet vs. The World Wide Web

Two different things

The InternetThe World Wide Web
Global physical network infrastructureA service that runs on top of the Internet
Routers, cables, satellites, wireless towersSystem of linked pages via HTML, URLs & HTTP
Protocols: TCP/IP, UDP, FTP, SMTP, DNSTechnologies: HTML, CSS, JavaScript, REST APIs
Enables email, VoIP, gaming, IoT, streamingAccessed through a web browser
Developed in the 1960s–1980s (ARPANET era)Invented by Tim Berners-Lee in 1989

Key point: the Internet is the infrastructure (roads). The Web is a service running on it (cars). Not all Internet traffic is Web — email, VoIP and gaming use the Internet but not necessarily the Web.

Lesson

Web Technologies & Developer Roles

The 2025 frontend/backend technology map, the three developer roles, and the trends shaping the field.

Web Technologies & Developer Roles

Frontend Technologies (2025)

TechnologyRole
HTML5Semantic structure, accessibility, web storage, canvas, geolocation
CSS3 / TailwindFlexbox, Grid, animations, custom properties, utility-first CSS
JavaScript ES2025Modern syntax, async/await, optional chaining, Temporal API
TypeScriptStatic typing for large apps, better IDE support, fewer bugs
React / Next.jsComponent-based UI; Next.js adds SSR, SSG and App Router
Vue / NuxtProgressive framework; Nuxt adds full-stack, file-based routing
AngularGoogle-backed; strong for enterprise; standalone components
WebAssemblyRun C/C++/Rust in the browser at near-native speed
Web Technologies & Developer Roles

Backend Technologies (2025)

TechnologyRole
Node.js / BunEvent-driven, non-blocking; Bun is ~3x faster with native TS support
PHP 8.x / LaravelPowers ~75% of the web; Laravel adds MVC, Eloquent ORM, Blade
Python / Django / FastAPIClean syntax; Django for web apps, FastAPI for high-performance APIs
Go (Golang)Fast, concurrent; popular for microservices and cloud-native backends
MySQL / PostgreSQLRDBMS for structured data; PostgreSQL adds JSON, full-text, extensions
MongoDB / RedisMongoDB for documents; Redis for ultra-fast in-memory caching
GraphQL / RESTREST for simple CRUD; GraphQL for flexible, client-defined queries
Docker / KubernetesDocker for containers; Kubernetes for orchestrating at scale
Web Technologies & Developer Roles

Developer Roles

Frontend Developers

Build everything a user sees and interacts with. Responsibilities include responsive accessible interfaces, implementing Figma/Adobe XD mockups, performance (Core Web Vitals, Lighthouse), cross-browser compatibility, integrating REST/GraphQL APIs, tests (Jest, Vitest), and Git.

2025 must-have skills: HTML5, CSS3, JavaScript (ES2025), TypeScript, React/Vue/Angular/Svelte, Tailwind, v0/Cursor/Copilot, Vitest/Playwright, Vite/webpack/ESLint/Prettier.

Backend Developers

Build the server-side logic, databases, APIs and infrastructure. Responsibilities include REST/GraphQL APIs, databases, authentication (OAuth 2.0, JWT, sessions), business logic, security/scalability/performance, CI/CD, and third-party integrations.

2025 must-have skills: Node.js/Python/PHP/Go, REST/GraphQL/OpenAPI, SQL + NoSQL, Docker/GitHub Actions, AWS/Azure/GCP/Vercel/Railway, OWASP Top 10/JWT/HTTPS/rate limiting, OpenAI/HuggingFace/LangChain.

Full Stack Developers

Proficient in both frontend and backend — they can build and deploy complete applications end-to-end: languages (JS/TS, Python, PHP, Go, Rust), cloud, security, frontend frameworks, DevOps, API design, AI integration, version control, databases, testing and project tools.

Web Technologies & Developer Roles

2025 Emerging Trends

  • AI-powered development — LLMs generate code, UIs and APIs (Copilot, Cursor, v0, ChatGPT).
  • Progressive Web Apps — install like native apps with offline support and push notifications.
  • WebAssembly (WASM) — near-native speed in browsers; powers Figma, Adobe, Google Earth.
  • Web3 & decentralisation — dApps, NFTs, smart contracts, decentralised identity.
  • Edge computing — code runs at CDN edge nodes (Vercel Edge, Cloudflare Workers) to cut latency.
  • HTTP/3 & QUIC — UDP-based, faster and more reliable; supported by ~30% of the web.
Web Technologies & Developer Roles

Chapter 1 Summary

  • The Internet — global TCP/IP network; IPv6 now essential; IoT drives exponential growth.
  • DNS & domains — hierarchical name system; DNSSEC & DNS-over-HTTPS for security.
  • The Web — built on the Internet; HTTP/3, WebAssembly, edge delivery reshape it.
  • Browsers & servers — AI-powered browsers; NGINX/serverless dominate; HTTPS mandatory.
  • Frontend — React, Next.js, TypeScript and Tailwind lead; WebAssembly grows.
  • Backend — Node.js, Python, PHP 8.x and Go; Docker/Kubernetes for cloud-native apps.
  • Developer roles — all roles now use AI tools; full stack devs manage entire product lifecycles.