HTML Mastery: 6-Day Learning Journey


Topics: Internet and IP | Mac Address | http protocol | Types of IP | switch and router | Public Private IP | Client server

Internet and IP Address

internet IP address

Internet: The internet is a worldwide system of connected networks that lets devices communicate and share information using IP addresses and standard protocols.

What is an IP Address?

How IP Address is Allotted?

Static vs Dynamic IP:

Why Do We Need DNS?

dns

Flow of Accessing a Website:


MAC Address and Port number

Why it is Needed?

MAC address = Your device’s permanent home address inside the local network.
IP address = The temporary address given when you connect to the internet.

Ways to Send or Receive Data

multicast
  1. Unicast
    • Data is sent from one device to exactly one device.
    • Example: Your laptop sending a file directly to your friend’s laptop.
  2. Broadcast
    • Data is sent from one device to all devices in the local network.
    • Example: When a device first joins a network, it sends a broadcast asking “Who is the DHCP server?”
  3. Multicast
    • Data is sent from one device to a selected group of devices.
    • Example: Online video streaming where the same video is delivered to many viewers at once without sending separate copies.

HTTP vs HTTPS

http

Example:

  1. Login with HTTP → Username & password can be stolen.
  2. Login with HTTPS → Data is encrypted & secure.

IPv4 vs IPv6

IPV$ and IPV6 IPV$ and IPV6

Why IPv6?


Switch vs Router

Switch

Router

In short:


Public vs Private IP

Public IP

Private IP

Why Both?

Example:


Web Development & Client–Server Model

Client–Server Model

client-server model

Frontend (Client-side)

Backend (Server-side)

Flow:

  1. User → Browser (Client).
  2. Request sent to Server.
  3. Server processes & responds with HTML, CSS, JS.
  4. Browser displays page.