# HTML

{% 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: 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:

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

The question should be specific, self-contained, and written in natural language.
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.
