Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Additional Pages

So far, we have created a single web page. To build a full website, we will likely want multiple pages of linked content.

Let’s create a second .html file in the same folder as index.html and save it as page2.html.

To get started, you can copy the HTML from index.html so that your new page is a well-formed and valid HTML document:

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>

</body>
</html>

Application

Add some content to your second page using:

This will give your second page a basic structure and content.