User Guide

 

HTML tags and attributes that are allowed by JotForm

HTML tags and attributes that are allowed by JotForm

You can use HTML tags to enhance your forms. There are various things that you can do with HTML. For instance, you can add styling to your text or add links to them. However, these tags are also used for getting unauthorized information from the users of web pages. Hence, JotForm does not allow all HTML tags and attributes.


HTML Tags
Here is a list of the tags that you can use on the JotForm Builders:

<img>, <span>, <h1>, <h2>, <h3>, <h4>, <audio>, <source>, <iframe>, <small>, <colgroup>, <col>, <i>

Attributes
There are attributes that you can use with these tags. JotForm has also some restriction on the HTML tag's attributes. 

Here is a list of the attributes that you can use with all HTML tags:

'href', 'align', 'alt', 'center', 'bgcolor', 'style', 'class', 'width', 'height'

Special Attributes
Other than these attributes, there specific attributes that you can use with some tags. Here is the list of them:

img: ['src'],
audio: ['controls'],
iframe: ['src', 'allowfullscreen'],
source: ['src', 'type'],
a: ['target', 'title'],
table: ['border', 'cellspacing', 'cellpadding'],
td: ['colspan', 'rowspan', 'valign'],
tr: ['valign'],
div: ['id']


Send Comment