Bare minimum HTML file
Every HTML file should start with a doctype declaration — it tells the browser to use modern standards mode. Without it, browsers fall into "quirks mode" and render things inconsistently.
<!DOCTYPE html> then <html lang="en"> wraps everything. Inside, <head> holds metadata (not visible) and <body> holds content (visible).
<meta charset="UTF-8"> — always include this first inside head. It makes sure special characters (é, ₹, →) render correctly.
<meta name="viewport" content="width=device-width, initial-scale=1"> — makes the page responsive on mobile. Without this, mobile browsers zoom out and show a desktop-sized layout.