1. Home
  2. Docs
  3. HTML an AUI Toolkit for Confluence Manual
  4. HTML Macros
  5. HTML Embed

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.

Note, that the same file might play fine from an external source while it does not do so as an attachment.

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.

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

 

Was this article helpful to you? Yes No

Leave a Reply

Your email address will not be published. Required fields are marked *