How to use HTML to customize a landing page

Use HTML to add dividers, call-to-actions and more to landing page

You can add your own HTML to any page with the HTML editor block: dividers, call and email links, embedded videos and maps, and more.

  1. On the Content step of a Landing page, Menu or other page QR code, click HTML editor in the row of blocks.
  2. Paste or write your HTML in the new block. The preview on the right updates as you type.

Here are some examples of what you can add:

Dividers

You can add lines or dividers between pieces of content.

Add the following string:

<style>.line {border-top: 3px solid #000000;width: 100%;margin: 0;}</style><div class="line"><br></div>

With "border-top:" you can set how tall the line will be in pixels.

With "solid #" you can set its color in hex color codes.

You can create a link to allow users to initiate a phone call directly from their devices.

Add a "href" attribute with the target phone number to the prompt (Call us) that will open the phone app. For example:

<a href="tel:+1234567890">Call us</a>

Replace "+1234567890" with the corresponding phone number. The "+" sign indicates the international dialing code.

You can create a link to allow users to send an email to a specific address directly from their devices.

Add a "href" attribute with the target address to the prompt (Send Email) that will open the email app. For example:

<a href="mailto:abc@example.com">Send Email</a>

Replace "abc@example.com" with the corresponding email address.

You can create a link to allow users to send a message to a specific WhatsApp number directly from their devices.

Add a "href" attribute with the target WhatsApp number to the prompt (Contact us on WhatsApp) that will open the WhatsApp app. Optionally, you can add a message to send (This is a message) after "?text=". For example:

<a href="https://wa.me/+1234567890?text=This is a message">Contact us on WhatsApp</a>

Replace "+1234567890" with the corresponding WhatsApp number.

You can create a link to allow users to jump directly to a specific section on your landing page.

1) Add an "id" attribute to the target element (Section 1). We recommend that the name of the element is the same as the id (section1). For example:

<a id="section1">Section 1</a>

2) Add a "href" attribute using the id created in step 1 (#section1) to the prompt that will go to the target element (Go to Section 1). For example:

<a href="#section1">Go to Section 1</a>

Embed a video

You can display videos from YouTube, Vimeo and other online video platforms on your landing page provided they have an embed option ("iframe" tag). After copying it, go to your landing page and paste the "iframe" tag. For example:

<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO-URL" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>

Embed a Google map

You can display multiple Google maps by searching the addresses in Google Maps, clicking Share > Embed a map and copying the "iframe" tag. After that, go to your landing page and paste the "iframe" tag. For example:

<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1589980.4936041927!2d-79.46503024375001!3d38.89126619999998!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x89b7b798ecb5b2c7%3A0xc7edf0c4a86f75af!2sSmithsonian%20National%20Museum%20of%20Natural%20History!5e0!3m2!1sen!2sar!4v1719328865609!5m2!1sen!2sar" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>

Sie kommen nicht weiter? Wir sind für Sie da.

Sagen Sie uns, was Sie vorhaben, und ein Mensch antwortet Ihnen.

Ein dynamischer QR-Code, umgeben von den Inhalten, die er aufnehmen kann