A webpage is one document or page made available through the Web. It commonly has its own address, called a URL. A webpage may contain text, images, forms, video, links, and other content.
Examples include:
A webpage is not defined by how long it is. One short contact page and one very long report can both be webpages.
A website is a related collection of webpages and other resources presented under a shared identity. These resources commonly use the same domain and navigation, although real systems can distribute resources across subdomains or content-delivery services.
For example, a bakery website might contain:
The relationship is simple:
A website can technically consist of only one webpage. Therefore, “website” does not always mean “many pages.”
A web application is software used through web technologies, normally through a browser, to help a user perform tasks or manage changing information.
Examples include:
Web applications often have features such as authentication, saved user data, calculations, searching, filtering, or collaboration. However, there is no single visual test that cleanly separates every “website” from every “web application.” The terms overlap.
An online newspaper can be called a website while also containing application-like features such as accounts, saved articles, search, and subscription management. Do not force a false either/or classification when a system has both publishing and application functions.
A resource is a broader technical term for something identified on the Web. A webpage can be a resource, but so can an image, stylesheet, downloadable PDF, data response, or video.
This matters because a browser usually needs several resources to display one webpage. The HTML document may refer to CSS, images, fonts, and other files.
Static content is delivered from stored files without being newly assembled for each request by application logic.
In a simple static site:
If the author wants to change the written opening hours, the stored content must be updated and published again.
Static does not mean that the page must look plain. A static page can have sophisticated layouts, responsive design, video, CSS animation, links, forms that submit elsewhere, and limited native HTML interaction. The word describes how its content is supplied, not its visual quality.
Dynamic content is generated, selected, or changed by a program according to data, a request, a user, time, permissions, or another condition.
For example, when a signed-in customer opens an order-history page, a system might:
The browser still receives data and renders a page or interface. “Dynamic” describes how some of the result was produced or updated.
Dynamic behaviour can occur in different places:
You will learn the parts of this system in Lesson 1.2. This course does not require JavaScript for its core HTML/CSS exercises.
Real projects are often hybrid systems rather than perfectly static or perfectly dynamic.
Consider a restaurant website:
| Part | Possible delivery | Reason |
|---|---|---|
| About page | Static | The content changes infrequently. |
| Brand stylesheet | Static file | The same presentation rules can be reused. |
| Today’s available tables | Dynamic | Availability changes and must use current data. |
| Customer account | Dynamic | The result depends on the signed-in user. |
| Logo image | Static file | It can be stored and returned as created. |
The correct classification applies to a specific page, response, or feature—not automatically to the entire organisation.
HTML is the Web’s core markup language for describing documents and applications. CSS describes the presentation of structured documents. Together, they can define and present the bakery page in this lesson.
HTML and CSS alone do not:
Those tasks require systems outside the page’s HTML and CSS. Later lessons will repeatedly identify this boundary instead of implying that visual code provides secure processing.
The project pages are stored as HTML files and redeployed when the designer adds work.
Classification: a website using static content delivery.
The page can still be responsive and visually rich. Its appearance does not make the delivery dynamic.
The page requests current measurements and shows results for the selected city.
Classification: a website with dynamic application behaviour.
The changing data and user selection are stronger evidence than the visual layout.
A publishing tool reads product data once, generates HTML files, and deploys them. Visitors later receive those stored files.
Classification: dynamically generated during the build process, but statically delivered to visitors.
This example shows why “static versus dynamic” must include the stage being discussed.
Users sign in, edit documents, and see saved changes.
Classification: a web application. It almost certainly combines a browser interface, server processing, and stored data.
lesson-1-1-bakery/
├── index.html
└── styles.css
The starting version contains the complete page. At this stage, your task is to observe the connection between the two files.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Riverside Bakery</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<p class="eyebrow">Neighbourhood bakery</p>
<h1>Riverside Bakery</h1>
<p>Fresh bread and pastries baked each morning.</p>
<section>
<h2>Opening hours</h2>
<p>Friday: 07:00–16:00</p>
</section>
<section>
<h2>Today's selection</h2>
<ul>
<li>Sourdough loaf</li>
<li>Cinnamon roll</li>
<li>Apple tart</li>
</ul>
</section>
<p class="note">Call the bakery to confirm availability before travelling.</p>
</main>
</body>
</html>
styles.css
body {
margin: 0;
background: #f7f3ea;
color: #2d241f;
font-family: Arial, sans-serif;
line-height: 1.6;
}
main {
max-width: 42rem;
margin: 0 auto;
padding: 3rem 1.25rem;
}
h1,
h2 {
line-height: 1.2;
}
.eyebrow {
color: #8a3b12;
font-weight: 700;
text-transform: uppercase;
}
section {
margin-block: 2rem;
padding: 1rem;
background: #ffffff;
border-left: 0.35rem solid #c65f25;
}
.note {
font-weight: 700;
}
The individual HTML elements and CSS rules are not required knowledge yet. HTML syntax begins in Module 2, and CSS begins in Module 7.
If you already know how to save text files:
Only this line changes:
<p>Friday: 07:00–18:00</p>
The displayed page changes after refresh because the browser reads the updated file. The page has not become dynamic: a person still changed stored content manually.
The demonstration uses fundamental HTML and CSS. It does not depend on an experimental feature for its content or function.
The margin-block CSS property is not necessary to understand this lesson. If it were unsupported, the sections would lose some vertical spacing, but all information would remain available. Course 1 will teach how support and fallbacks are evaluated when features become relevant.
Even this early preview follows rules that will be explained later:
This lesson does not claim that one example proves complete accessibility. Accessibility requires deliberate design and testing throughout a project.
A URL may identify one webpage, image, file, or another resource. Use “webpage” for one page and “website” for the related collection when that distinction matters.
A static page can contain CSS animation. Determine how content is supplied or generated rather than judging movement.
Inspect individual parts. A static marketing page and a dynamic account area can belong to the same website.
HTML and CSS can present an interface. They do not create a secure payment system or database.
Classify each case. Some answers need more than one label.
For every answer, name the evidence. Do not classify from appearance alone.
The solution was checked against the definitions and distinctions used in this lesson. It does not require browser execution.