> For the complete documentation index, see [llms.txt](https://docs.msquared.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.msquared.io/creation/unreal-development/features-and-tutorials/web-browser/loading-embedded-pages.md).

# Loading embedded pages

This guide assumes you've followed [Setup the browser widget](/creation/unreal-development/features-and-tutorials/web-browser/setup-the-browser-widget.md).

You can load webpages into your browser, where the content is packaged into the game.

{% hint style="info" %}
You must place content inside a folder called `WebUI` for it to be packaged correctly.
{% endhint %}

### Create the HTML page

Create a folder in your project's content folder called `WebUI` .

<figure><img src="/files/W8cilqflb9bUIcHZVgfS" alt=""><figcaption><p>The WebUI folder.</p></figcaption></figure>

Open this folder in the Windows Explorer and create a file inside called `index.html`.

Paste this text in the file:

```html
<!DOCTYPE html>
<html lang="en">
<head>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');
        body {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            font-family: 'Roboto', sans-serif;
            font-size: 4rem;
            background: #ffffff;
        }
    </style>
</head>
<body>
    Hello World!
</body>
</html>
```

### Load the HTML page into the browser

Add the following node to your browser widget blueprint on `Event Construct`:

{% @blueprintue-embed/embed url="<https://nextjs-boilerplate-jl63.vercel.app/b91f9fe8-63df-4135-8d82-2f46f0fdb81f>" %}

Once you load in with PIE you should see the page loaded in your browser, for example in 3D space by following [In-world browser](/creation/unreal-development/features-and-tutorials/web-browser/in-world-browser.md):

<figure><img src="/files/Swb4ix8Bbf9NkkwfG5gY" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.msquared.io/creation/unreal-development/features-and-tutorials/web-browser/loading-embedded-pages.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
