# HTML Embed

## Description

The HTML Embed tag macro adds a container to your page for an external application or interactive content (a plug-in).

## Adding the Macro

1. Edit your page.
2. Select “+” => Other macros
3. Type in “html” in the Search box
4. Select the “HTML Embed” macro

## Macro Options

### **Content URL**

If the content is from an external source, specify it’s link here.

### **Use Attachment**

Check this option if the Content URL shall be ignored and an attached file of the page should be used instead.

{% hint style="info" %}
Note, that the same file might play fine from an external source while it does not do so as an attachment.
{% endhint %}

### **Content File**

Select the attached file.

### **Content Type**

Enter the content type here. For a complete list of standard content types, see the [IANA Media Types page](http://www.iana.org/assignments/media-types/).

### **Height**

Enter a custom height for the display. Use a numeric value. It is interpreted as pixels. If Width is not set, the browser will automatically adjust the proportion.

### **Width**

Enter a custom width for the display. Use a numeric value. It is interpreted as pixels. If Height is not set, the browser will automatically adjust the proportion.

### **Element ID**

You can specify an element ID here. It must be unique on your page.

### **CSS Classes**

You can specify CSS class names here, separated by blank.

### **Inline Styles**

You can specify inline CSS properties here. Each one has to end with a semicolon.

### **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”.


---

# 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-embed.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.
