# HTML Banner Examples

## Overview

You can use these templates as the basis for your HTML banners to use in emails by replacing the default images and text with your own brand images and copy. This allows you to quickly create your own HTML banners using the layouts provided in the templates (for example: a newsletter format where you can include your own image and text, with a Call to Action (CTA) button to allow your customers to subscribe to the latest updates for your brand).

## HTML Example Templates

The standard HTML templates available for you to use are described in the following sections.

### Template 1

This template provides a three-row format with an image, text, and CTA button on a transparent background (for example: to use for subscription to a newsletter).

<div align="left"><figure><img src="https://1156682959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPf1Lv1YUuLYva6LrXQ%2Fuploads%2FVG4xT31hYVrtlBgo9BaF%2FHTMLTemplate1.png?alt=media&#x26;token=6a7d0d2a-cb38-40b4-94f5-084e5b098a95" alt="HTML banner example template 1 with three row format with an image, text, and CTA button" width="375"><figcaption></figcaption></figure></div>

The following HTML code can be used for your campaign banner in emails, allowing you to replace the default images and text with your own.

{% code overflow="wrap" %}

```html
<table style="height: 195.688px;" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 50px;">
<td class="lh" style="padding: 0px 10px 10px; height: 50px;" align="center"><img style="display: block; margin: 0 auto;" src="INSERT IMAGE URL HERE" width="50" border="0"></td>
</tr>
<tr style="background-color: rgb(255, 255, 255); height: 81.6875px;">
<td class="lh" style="padding: 5px 20px 10px; height: 81.6875px;" align="center"><span style="font-family: 'Lato', Arial, sans-serif; font-size: 20px; color: #000000; font-weight: bold; line-height: 20px; text-align: center; text-transform: uppercase;">INSERT TEXT HERE</span><br><br><span style="font-family: 'Lato', Arial, sans-serif; font-size: 14px; color: #000000; font-weight: normal; line-height: 20px; text-align: center;">INSERT TEXT HERE</span></td>
</tr>
<tr style="height: 64px;">
<td style="height: 64px;" align="center">
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding: 10px 0;">
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="font-family: 'Lato', Arial, sans-serif; font-size: 14px; border: 1px solid #4F783D; background-color: #012171; line-height: 26px; padding: 6px 10px; color: #ffffff; display: inline-block; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;" align="center" valign="top" width="180"><a style="color: #ffffff; text-decoration: none; display: block; line-height: 26px; padding: 0; font-family: 'Lato', Arial, sans-serif;" target="_blank" rel="noopener">INSERT BUTTON TEXT HERE</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
```

{% endcode %}

### Template 2

This template provides a two-column format with an image, text, and CTA button on a colored background (for example: to use for subscription to a newsletter).

<div align="left"><figure><img src="https://1156682959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPf1Lv1YUuLYva6LrXQ%2Fuploads%2FN7U4NsF2yYZRdI2UFD0F%2FHTMLTemplate2.png?alt=media&#x26;token=a9c13b5c-bcf8-4b42-b29c-f83413fa0d58" alt="HTML banner example template 2 with two column format with an image, text, and CTA button" width="375"><figcaption></figcaption></figure></div>

The following HTML code can be used for your campaign banner in emails, allowing you to replace the default images and text with your own.

{% code overflow="wrap" %}

```html
<table border="0" width="100%" cellspacing="0" cellpadding="0" bgcolor="#EEEEEE">
<tbody>
<tr>
<td class="vat" style="padding: 30px 0;" align="left" valign="top">
<table dir="" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<th align="center" valign="top" width="200">
<table class="fw" dir="ltr" style="direction: ltr;" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center"><img style="display: block;" src="INSERT IMAGE URL HERE" width="200" border="0"></td>
</tr>
</tbody>
</table>
</th>
<td width="20"><img style="display: block;" src="https://cdn.parcellab.com/img/mail/parcellab/trans.gif" width="20" border="0"></td>
<th align="left" valign="top">
<table dir="ltr" style="direction: ltr;" border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="lh com" align="left"><span style="font-family: 'Lato', Arial, sans-serif; font-size: 20px; color: #585858; font-weight: bold; line-height: 24px;">INSERT TEXT HERE</span></td>
</tr>
<tr>
<td height="10"><img style="display: block;" src="https://cdn.parcellab.com/img/mail/parcellab/trans.gif" width="1" height="10"></td>
</tr>
<tr>
<td class="lh com" style="font-family: 'Lato', Arial, sans-serif; font-size: 14px; color: #585858; font-weight: normal; line-height: 20px;" align="left"><span style="font-family: 'Lato', Arial, sans-serif; font-size: 14px; color: #585858; font-weight: normal; line-height: 1.4;">INSERT TEXT HERE</span></td>
</tr>
<tr>
<td class="rh20" height="30"><img style="display: block;" src="https://cdn.parcellab.com/img/mail/parcellab/trans.gif" width="1" height="20"></td>
</tr>
<tr>
<td style="line-height: 1.4; font-family: 'Roboto', Arial, sans-serif; font-size: 14px; color: #585858; font-weight: 400;" align="left">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="padding-top: 0;" align="left">
<table class="comt" style="-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; border: 1px solid #585858; width: 232px;" border="0" width="232" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tbody>
<tr>
<td class="lh" style="padding: 10px 30px;" align="center"><a style="font-family: 'Lato', Arial, sans-serif; font-size: 16px; color: #585858; font-weight: 400; line-height: 20px; text-decoration: none; display: block;" target="_blank" rel="noopener">INSERT BUTTON TEXT HERE</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</th>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
```

{% endcode %}

### Template 3

This template provides a two-column format with an image and link (for example: to use for product recommendations).

<div align="left"><figure><img src="https://1156682959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPf1Lv1YUuLYva6LrXQ%2Fuploads%2FQHvZmpTrTc1q7APJUXRi%2FHTMLTemplate3.png?alt=media&#x26;token=b0c18ea3-b43e-49c5-a98c-4c18139b41cf" alt="HTML banner example template 3 with two column format with an image and link" width="375"><figcaption></figcaption></figure></div>

The following HTML code can be used for your campaign banner in emails, allowing you to replace the default images and text with your own.

{% code overflow="wrap" %}

```html
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><a target="_blank" rel="noopener"><img style="display: block; margin: 0 auto; width: 290px;" src="INSERT IMAGE URL HERE" width="290" border="0"></a></td>
</tr>
<tr>
<td style="padding: 5px; padding-top: 20px; padding-bottom: 10px; font-family: 'Lato', Arial, sans-serif; font-size: 12px; color: #000000; font-weight: 500; text-transform: uppercase;" align="center"><a style="font-family: 'Lato', Arial, sans-serif; font-size: 15px; color: #000000; font-weight: bold; text-transform: uppercase; text-decoration: underline;" href="INSERT IMAGE URL LINK HERE" target="_blank" rel="noopener">INSERT LINK TEXT HERE</a></td>
</tr>
</tbody>
</table>
</td>
<td width="10"><img style="display: block;" src="https://cdn.parcellab.com/img/mail/parcellab/trans.gif" width="10" border="0"></td>
<td align="center">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><a target="_blank" rel="noopener"><img style="display: block; margin: 0 auto; width: 290px;" src="INSERT IMAGE URL HERE" width="290" border="0"></a></td>
</tr>
<tr>
<td style="padding: 5px; padding-top: 20px; padding-bottom: 10px; font-family: 'Lato', Arial, sans-serif; font-size: 12px; color: #000000; font-weight: 500; text-transform: uppercase;" align="center"><a style="font-family: 'Lato', Arial, sans-serif; font-size: 15px; color: #000000; font-weight: bold; text-transform: uppercase; text-decoration: underline;" href="INSERT IMAGE URL LINK HERE" target="_blank" rel="noopener">INSERT LINK TEXT HERE</a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
```

{% endcode %}

### Template 4

This template provides a collage format with four images (for example: to use for advertising related products).

<div align="left"><figure><img src="https://1156682959-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPf1Lv1YUuLYva6LrXQ%2Fuploads%2FZ2LEPt0uLXGm00gAI4mK%2FHTMLTemplate4.png?alt=media&#x26;token=d843b91b-b820-4ffe-af95-f4d37d86c99c" alt="HTML banner example template 4 with collage format with four images" width="375"><figcaption></figcaption></figure></div>

The following HTML code can be used for your campaign banner in emails, allowing you to replace the default images and text with your own.

{% code overflow="wrap" %}

```html
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="vertical-align: top;" align="center" valign="top" width="100%">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td class="vat" style="vertical-align: top; padding-bottom: 5px;" align="center"><a target="_blank" rel="noopener"> <img style="display: block; width: 295px;" src="INSERT IMAGE URL HERE" border="0"> </a></td>
<td width="10"><img style="display: block;" src="https://cdn.parcellab.com/img/mail/parcellab/trans.gif" width="10" border="0"></td>
<td class="vat" style="vertical-align: top; padding-bottom: 5px;" align="center"><a target="_blank" rel="noopener"> <img style="display: block; width: 295px;" src="INSERT IMAGE URL HERE" border="0"> </a></td>
</tr>
<tr>
<td class="vat" style="vertical-align: top; padding-top: 5px;" align="center"><a target="_blank" rel="noopener"> <img style="display: block; width: 295px;" src="INSERT IMAGE URL HERE" border="0"> </a></td>
<td width="10"><img style="display: block;" src="https://cdn.parcellab.com/img/mail/parcellab/trans.gif" width="10" border="0"></td>
<td class="vat" style="vertical-align: top; padding-top: 5px;" align="center"><a target="_blank" rel="noopener"> <img style="display: block; width: 295px;" src="INSERT IMAGE URL HERE" width="290" border="0"> </a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
```

{% endcode %}


---

# 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.parcellab.com/docs/engage/campaigns/html-banner-examples.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.
