URL Components And Web Terminologies (original) (raw)

Last Updated : 27 Jan, 2026

A URL (Uniform Resource Locator) is a unique address used to locate and access resources on the internet.

Parts of URL

A URL is composed of multiple parts, each defining how and where a resource can be accessed.

url_parts

HTTP

HTTP (Hypertext Transfer Protocol) is a communication protocol that defines how data is exchanged between clients and web servers.

HTTPS

HTTPS (Hypertext Transfer Protocol Secure) is a secure version of HTTP that encrypts data exchanged between clients and servers.

Difference between HTTP and HTTPS

Here are some differences between HTTP and HTTPS:

**HTTP **HTTPS
Stands for Hypertext Transfer Protocol Stands for Hypertext Transfer Protocol Secure
Data is sent in plain text Data is encrypted using SSL/TLS
Uses port 80 by default Uses port 443 by default
No built-in security Provides secure communication via encryption
Vulnerable to attacks such as MITM Resistant to attacks such as MITM
Faster without encryption overhead Slight overhead due to encryption (negligible in modern systems)
Used where security is not critical Used where secure data transmission is required
Does not require SSL/TLS certificate Requires SSL/TLS certificate

Client-Server Model Encryption

Secure communication in the client–server model is achieved through encryption, ensuring data exchanged between clients and servers remains protected.

SSL And TLS Certificates

SSL and TLS are security protocols that encrypt internet communication and verify server identity to ensure secure data transfer.

Public Key and Symmetric Key

Encryption can be classified into public key and symmetric key methods, each using different key mechanisms for securing data.