# HTML Preformatted

## Description

The HTML Preformatted macro adds an `<pre>` element to your page. It has no parameters but provides a body where you can enter text to be displayed in a smaller font size.

## Adding the Macro

1. Edit your page.
2. Select “+” => Other macros
3. Type in “html” in the Search box
4. Select the “HTML Pre” 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”.

## Body

Use the body to display small text.

Will show like this:

<figure><img src="https://3884669180-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fs1Vtfb5fcOs06GOHo0WA%2Fuploads%2FlCpPr1IPlKYW1Zo7w4yr%2Fimage-1-768x67.png?alt=media&#x26;token=8f61b337-2041-4cce-841e-fc3db750d427" alt=""><figcaption></figcaption></figure>
