Web Fundamentals

Understanding the Web Development Landscape

World Wide Web Components

  • Web Pages and Browsers: Web pages are documents written in HTML. Browsers like Chrome or Firefox render these documents so users can interact with them visually.
  • Web Servers and Hosting: Servers are powerful computers that store your website's files and deliver them to users over the internet. Hosting providers rent space on these servers.
  • URLs and Domain Names: URLs are addresses of web pages, and domain names are human-readable aliases (like example.com) that map to server IPs.
  • HTTP/HTTPS Protocols: These protocols define how data is transmitted. HTTPS is the secure version using encryption to protect user data.

Front-End vs Back-End

  • Client-side Development: Everything users see and interact with — built with HTML, CSS, and JavaScript.
  • Server-side Development: Behind-the-scenes logic, databases, and processing handled with languages like Node.js, Python, PHP.
  • Full-Stack Development: Combines both client and server-side — full control over the website's appearance and logic.
  • Web Development Tools: Code editors (e.g., VS Code), browsers, version control, and debugging tools help developers work efficiently.

Core Technologies

  • HTML for Structure: HTML (HyperText Markup Language) gives structure to content. It defines elements like headings, paragraphs, images, and links.
  • CSS for Styling: CSS (Cascading Style Sheets) allows customization of color, layout, spacing, fonts, and animations.
  • JavaScript for Interactivity: JavaScript adds behavior — it reacts to user actions like clicks or typing, and can change the page without reloading.
  • Web Development Best Practices: Write clean code, use semantic tags, keep content accessible, and make websites responsive across devices.

Example: Your First Web Page

<!DOCTYPE html>
        <html>
          <head>
            <title>My First Page</title>
          </head>
          <body>
            <h1>Hello, World!</h1>
            <p>This is my first web page.</p>
          </body>
        </html>

Try it:

  1. Copy the code into a text editor and save it as index.html.
  2. Double-click the file or open it in a browser to see your first web page!