BACK TO ACADEMY
Openchains Interactive Learning Portal

HTML Interactive Curriculum

Welcome to the interactive classroom. Click the tracks in the sidebar to toggle between real-time code sandboxes, flows, and diagnostic outputs.

1. What & Why HTML
Module 01: Core Web Concepts

What is HTML & Why does it exist?

HTML stands for HyperText Markup Language. It is the absolute foundation of everything you see on the web. It is not a programming language; it does not contain logic like if/else statements. Instead, it is a markup language that uses "tags" to tell the browser how to structure content (like text, images, buttons, and links).

Why is HTML so important?

Without HTML, the web as we know it would not exist. Every React app, every Angular project, and every WordPress site ultimately compiles down to plain HTML before the browser can render it on your screen. It provides:

  • Structure & Meaning: It defines what is a header, what is a paragraph, and what is a button.
  • Accessibility: Screen readers for visually impaired users rely entirely on HTML tags to read web pages aloud.
  • SEO (Search Engine Optimization): Google's bots cannot "see" your website's colors or layout. They read your raw HTML to understand your content and rank your page in search results.

The Web Architecture Analogy

Think of building a website like constructing a building:

HTML

The Skeleton & Structure

Like the steel beams and concrete foundation of a building. HTML defines paragraphs, layouts, headers, checkboxes, and buttons. Raw semantic bones without style or decoration.

CSS

The Skin & Paint

Like the interior design, paint, and windows. CSS controls colors, borders, typography alignments, background glows, layout spacing, and responsiveness on mobile.

JS

The Brains & Power

Like the elevators, plumbing, and electricity. JavaScript flashes alerts, processes calculations, fetches data from servers, and dynamically updates the screen.

Interactive Sandbox: Skin vs. Skeleton

See how the browser draws a profile component with and without CSS/JS styles.

OP
Openchains Student

Harare Academy

Status: Coding

How HTML Travels: The Web Request Flow

When you type openchainstechnologies.cominto your browser, it requests the HTML shell from our servers. Let's run the simulator to see the packet route in action.

Your Browser

zimbabwe_ip

Ready to Send

Openchains Server

harare_lab_node

>_Console: Click Trigger Request to launch packet logs.

How to Run Your Own Site Locally

You don't need a server to write HTML! Your web browser (Chrome, Edge, Safari) is built to read HTML files directly from your computer. Follow these steps to create your very first web page in under 60 seconds:

1

Create a New File

Open any text editor (Notepad, TextEdit, or preferably VS Code). Create a new file and save it as index.html on your Desktop.

2

Write HTML Skeleton Code

Copy the code from the right panel and paste it into your index.html file. Save the file (Ctrl+S or Cmd+S).

3

Open in your Browser

Go to your Desktop, find the index.html file you just saved, and double-click it. It will open in your default web browser! You have just created your first local website.

index.html
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>My First Website</title>
</head>
<body>
  <header>
    <h1>Welcome to Web Engineering</h1>
    <p>This is my very first paragraph built with pure HTML5.</p>
  </header>
  
  <main>
    <section>
      <h2>Why I am learning HTML:</h2>
      <ul>
        <li>It's the foundation of the web</li>
        <li>It helps me build custom ERPs</li>
        <li>It's required for frontend frameworks</li>
      </ul>
    </section>
  </main>
</body>
</html>