Coding task · HTML and CSS course · Module 2: The Web and HTML Elements

Comparing HTTP and HTTPS

HTTP is like sending a messenger without protection - anyone can eavesdrop on the message. HTTPS is a messenger with an armed escort and an encrypted message - secure! The 'S' in HTTPS stands for 'Secure'. Every website with forms, payments, or logins MUST use HTTPS, otherwise data can be intercepted by thieves.

Task

Create a page comparing HTTP and HTTPS like two paths through the desert - one dangerous, the other protected. Use a <table> with columns: Feature, HTTP (dangerous path), HTTPS (protected path). Compare: security, encryption, browser icon, usage. Add a <div> with a warning in Egyptian sign style: "Never enter a password on an HTTP site!" Result: The user should ALWAYS check for the padlock icon in the address bar!