HTML allowed in the chatbox
You can customize text for your chat box using basic HTML in the following sections of the live chat widget:
If a section allows for HTML, you’ll see the following:
For security reasons, we only allow certain HTML tags and attributes to be used. Other HTML tags will be stripped from your text.
You can use the following block elements in your Olark text settings:
You may also allow these inline elements in order to style your text:
For each tag, the following HTML attributes may be used, mostly related to the
An example of correct formatting would be: <a href="https://www.website.com "> Text as you’d like it to appear here </a> (without any spaces) Our example Offline Messages uses the following formatting: Sorry we are unavailable right now - please fill out this form for an email reply, or search our <a href="https://www.olark.com/help ">Help Center</a> for immediate answers.
target attribute, the only accepted value is
_blank. This forces links to open in a new window when clicked.
It’s worth noting that the ID and class attributes cannot be added to any of the HTML tags.