Logo Jit-learn Start free
Primer / Resources / About

Learn the page structure before the page gets complicated.

HTML tells the browser what each part of the page is.

Primer

What Is HTML Really Doing?

A browser reads HTML tags and acts on them. HTML tells the browser what the page is, what it means, and what should be shown.

HTML Uses Tags

HTML is built from tags.

Tags tell the browser what each part of the page represents.

<html>
   <head>...</head>
   <body>...</body>
</html>

The Head Talks To The Web

The head section is not the visible page content.

It tells browsers, search engines, social media sites, and other systems how the page wants to communicate with the World Wide Web.

<head>
   <title>Page Title</title>
   <meta name="description">
   <link rel="canonical">
</head>

The Body Holds The Message

The body section contains the visible communication.

This is where headings, paragraphs, images, links, lists, buttons, forms, and page sections usually live.

<body>
   <h1>Main Heading</h1>
   <p>Page message</p>
   <a href="...">Link</a>
</body>

Style Controls Appearance

The style tag contains CSS.

CSS tells the browser how the page should look: colors, spacing, fonts, layout, cards, buttons, and responsive design.

<style>
   body { font-family: Arial; }
   .card { border-radius: 18px; }
</style>

Script Controls Behavior

The script tag contains JavaScript.

JavaScript lets the page react: clicks, menus, checks, forms, movement, validation, and dynamic content.

<script>
   alert("Hello");
</script>

Tools That Help Script

JavaScript often works with text and structured data.

  • RegEx finds and checks text patterns.
  • JSON stores and exchanges structured data.
  • XML stores structured markup used in feeds, sitemaps, exports, and older systems.

HTML is not just text on a page.

HTML is a set of tags that tells the browser how to understand the page.

The head communicates with the web. The body communicates with the human. Style controls appearance. Script controls behavior.

Resources
About

View Source Versus Inspector

Most people think a browser simply displays an HTML file. That is not what actually happens.

The Browser Does More Than Display HTML

A browser reads the HTML, interprets it, applies CSS, executes JavaScript, and then renders the result.

To understand the web, you need to understand what the browser is actually building.

HTML
   |
   +-- Browser Reads It
   +-- Browser Interprets It
   +-- Browser Renders It
   +-- Web Page

View Source

View Source shows the original HTML file sent by the server.

It answers one question: what was sent?

Server
   |
   +-- HTML File
            |
            +-- View Source

Inspector

Inspector shows what the browser built after reading the file.

It answers a different question: what is the browser working with right now?

HTML
   |
   +-- Browser Reads It
   +-- CSS Applied
   +-- JavaScript Runs
   +-- Inspector

How To Open Them

Most browsers let you open both tools from the right-click menu.

Right Click
   |
   +-- View Page Source

Right Click
   |
   +-- Inspect

You can also try F12, Ctrl + Shift + I, or Cmd + Option + I.

Why Inspector Matters

Professional developers spend far more time in Inspector than View Source.

  • HTML structure
  • CSS rules
  • Network activity
  • JavaScript errors
  • Storage and cookies
  • Performance information

When something does not work, Inspector is usually the first place to look.

And That Is An HTML Primer

View Source shows the original file.

Inspector shows the browser's working copy.

The browser is not displaying the original HTML file. The browser is displaying its interpretation of that file.

Lecture + worksheet

Job-ready HTML practice cards

Each card has one clear goal. The whole card opens the lecture.

✓ Lesson 1 Free • No Login Required

A Complete HTML Page

See every part of a real HTML page in one place — a reference point for everything discussed in this series.

Returned to again and again as you work through the course. Bookmark it.
Complete page: every section in context
Isolated examples: pieces without the whole
Includes:
  • doctype
  • head
  • meta tags
  • body
  • full structure

Build Real Web Page Structure

Learn how real websites are organized so browsers, search engines, and people can understand your pages.

Seen in every professional website, business site, dashboard, and web application.
HTML direct: meaningful structure
Random-div version: difficult to maintain later
Includes:
  • header
  • main
  • section
  • article
  • footer

Build Forms That Collect Information

Create forms that allow visitors to send messages, search, register, log in, and enter data.

Seen in contact pages, logins, registrations, checkout systems, and business applications.
HTML direct: collect user input
Text-only version: visitors cannot interact
Includes:
  • forms
  • inputs
  • labels
  • buttons
  • validation

Display Data Clearly

Present information in tables when rows and columns make the content easier to understand.

Seen in reports, pricing pages, schedules, product lists, and business systems.
HTML direct: organized information
Paragraph-only version: difficult to read
Includes:
  • table
  • rows
  • columns
  • headers
  • data cells

Add Pictures, Video, And Media

Display images, audio, video, and downloadable files correctly on a web page.

Seen in blogs, stores, galleries, tutorials, marketing pages, and portfolios.
HTML direct: richer pages
Text-only version: limited communication
Includes:
  • images
  • audio
  • video
  • downloads
  • media tags

Make Pages Easier For Everyone

Build pages that work better for screen readers, keyboards, mobile devices, and different abilities.

Seen in government, education, healthcare, and professional websites.
HTML direct: inclusive design
Ignore-accessibility version: visitors get blocked
Includes:
  • alt text
  • labels
  • headings
  • navigation
  • accessibility basics

Help Search Engines Understand Your Pages

Use HTML structure that helps search engines identify the purpose and content of your page.

Seen in business websites, blogs, stores, and content platforms.
HTML direct: better page understanding
Random structure version: harder to discover
Includes:
  • titles
  • headings
  • semantic tags
  • descriptions
  • SEO basics

Embed Content From Other Sources

Add maps, videos, forms, calendars, and external content into your page safely.

Seen in contact pages, training sites, events, support pages, and businesses.
HTML direct: connected content
Standalone version: limited functionality
Includes:
  • iframes
  • maps
  • videos
  • external content
  • embedding basics

Use Modern HTML Features

Use newer HTML elements that reduce complexity and improve usability without extra code.

Seen in modern websites, web applications, and responsive interfaces.
HTML direct: simpler solutions
Old workaround version: extra code everywhere
Includes:
  • details
  • summary
  • modern tags
  • browser support
  • cleaner markup

Build A Complete Website Page

Combine structure, navigation, content, media, forms, accessibility, and organization into a realistic page.

Seen in every real project that moves beyond simple examples.
HTML direct: complete page building
Tutorial-only version: never reaches production
Includes:
  • layout
  • navigation
  • content
  • forms
  • media

Use AI faster, but understand enough to stay in control.

The goal is not to memorize every HTML tag first. The goal is to recognize what belongs on the page, what gives the page meaning, and what must be checked before a page goes live.


moc.rt-tij [ta] troppus
(customization available)