

A web page will be rendered on your browser window. Navigate to the address bar and type in (or select) any random but valid URL you know. Don’t worry, we will find out what that means very shortly. N/B: In case you are wondering, the page that the above URL returns is a dynamic page. These interconnected web pages forms an organised network of web pages, which we then call a website.Įvery web page accessible on the internet must have its own URL. A hyperlink is any element in the web page which, when you click on it, links to another web page. HyperText is any web document which contains hyperlinks. We create web pages using a markup language such as HyperText Markup Language – more commonly known as HTML. This is very similar to web pages and web sites.Ī web page is a single document which can contain text, images, hypertext, or any other elements. It is very common in an encyclopedia to find words on the page which refer (or link) to another page for additional information. Each page has its own content: A header, paragraph, images, diagrams, bullet points, lists, and of course, the definitions of the terms you're looking up. To do that, let’s consider an encyclopedia.Īn encyclopedia (like Wikipedia, for example) consists of many pages. What is a Web Page?įirst, we need to understand what a web page and a web site are and how they differ. And, as usual, I will be doing so in plain English. In this article, I am going to tell you all you need to know – and why it's important. You might wonder what makes a web page static and what makes a web page dynamic. If you're a beginner coder, you might have heard of the terms “static web pages” and “dynamic web pages” – but you might not know what they mean. If you don’t know the answer to that question, or are struggling to think it up, then this article is for you. “So can you distinguish between a static web page and a dynamic web page?”

We'll talk about this approach below.Imagine that you're interviewing for your dream job and the interviewer drops this question for you: It will be slower because the page cannot be cached by a CDN, but the pre-rendered page will always be up-to-date.

To learn more about how getStaticPaths works, check out the Data Fetching documentation. Here's an example:Įxport default function Blog ( Static Generation without dataīy default, Next.js pre-renders pages using Static Generation without fetching data. In Next.js, you can statically generate pages with or without data. This HTML will then be reused on each request. That means in production, the page HTML is generated when you run next build. If a page uses Static Generation, the page HTML is generated at build time. Blog Starter using markdown files ( Demo ).
