# HTML Html

{% hint style="danger" %}
Due to the risk of breaking your page with these macros, they are disabled by default when the HAT plugin is installed. The administrator has to enable them manually in the Add-on Manager.
{% endhint %}

## Description

The HTML Html macro adds a `<div>` element on your page that is meant to host your individual Html code. It’s body is not formatted but interpreted as you enter it.

These macros require good knowledge of HTML in order to know what you do when you add them.

## Adding the Macro

Edit your page.

Select “+” => Other macros

Type in “html” in the Search box

Select the “HTML Html” macro

## Macro Options

### **Element ID**

If you need to address your element via an ID, e.g. in a stylesheet or via Javascript, enter the ID here. Make sure, the ID is unique on your page.

### **CSS Classes**

If you need to style your element via an external style sheet, enter all class names here, separated by a blank.

### **Inline Styles**

You can add inline styles to your element here, ending with a semicolon, e.g. “color:#ffffff;background-color:#000099;”.

### **Tooltip Title**

Enter a simple text here that will popup as a tooltip when the mouse is hovered over the element.

### **Custom Attributes**

You can enter fully specified custom attributes here separated by blanks, e.g.: data-animal=”cat” data-color=”red”.

### **Strip Body Wrapper**

By default, Confluence will wrap any macro body content into a \<p> tag. For custom HTLM, this might lead to unwanted results. Check this option to remove the Confluence \<p> wrapper.

## Body

You can put other elements into the body.


---

# 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://lewe.gitbook.io/html-and-aui-toolkit-for-confluence/html-macros/html-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.
