> For the complete documentation index, see [llms.txt](https://docs.realmacsoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmacsoftware.com/classic/user-manual/page-types/html.md).

# HTML

Write HTML code directly on the page

{% hint style="info" %}
If you are using RapidWeaver Elements, you can use the HTML Element in the default page type.
{% endhint %}

The HTML page type allows you to enter any HTML code in the content area of your site in the editing view. Your code can be as simple or complex as your knowledge of HTML and web development. Or you can simply use this page to paste embedded code such as Google Maps, or even videos hosted on YouTube or Vimeo.

If you want to create an HTML page that retains the theme of the other pages on your website, be sure to leave the ‘Apply Theme’ checkbox located in the ‘Page’ tab of the Page Inspector selected. Unticking this box will remove the theme layout from the page, giving you an entirely blank canvas to start from scratch.

You can enter anything into the HTML page type, including Javascript, CSS, PHP and more. Just remember that the page’s extension needs to reflect the content on the page, so be sure to check that the Page Inspector has been set up correctly.

If you're using PHP, you should also check whether your web host supports PHP as some hosts may not support PHP. Also, please check what version PHP your code will require and make sure your hosting is set properly.

{% hint style="info" %}
Sometimes different elements require different PHP versions so keep a look out for that if you're getting PHP errors.
{% endhint %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmacsoftware.com/classic/user-manual/page-types/html.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
