Formstack allows the use of HTML in the form field labels and supporting text. While this behavior was supported in the past, it was more of a workaround and not officially a feature. With the most current version of of our form engine, V4 Live Forms, we now officially support the following tags and attributes.
Note -
- HTML tags will only work on form field labels and supporting text. They will not work on option labels.
- Any other tags used, not listed on this page, will not be rendered on the form. This is due to enhanced security purposes.
Here is a general how to for adding HTML tags into the form labels and supporting text on a Formstack form.
- Highlight the field you want to add HTML on.
- Add the HTML tags you want to in front of the words in the label or the supporting text. The tags will be shown in the form builder view, but as soon as you view the "Live Form", the tags will be replaced with the expected behavior for those tags.
- Here is what an unformatted form would look like when viewing the "Live Form"
- Here is what a form formatted with HTML tags would look like. Notice that the label and the supporting text are both BOLD and BIG compared to the rest of the text on the form.
Here is the list of the supported HTML tags and attributes you can use on your Formstack form.
: Defines a hyperlink.: Indicates an abbreviation or acronym.: Specifies an acronym.: Defines contact information for the author or owner of a document.: Defines an area inside an image map.: Renders text in bold without extra importance.: Makes the text larger.: Indicates a section that is quoted from another source.: Inserts a line break.: Defines a table caption.: Centers the content inside (deprecated).: Represents the title of a work.: Displays its content in a monospaced font.: Specifies column properties for each column within aelement.: Specifies a group of one or more columns in a table for formatting.: Describes an item in a description list.: Indicates text that has been deleted from a document.: Indicates a defining instance of a term.- : Defines a division or section in a document.
: Defines a description list.: Defines a term/name in a description list.: Emphasizes text.: Specifies the font face, size, and color of text (deprecated).,,,,,: Define HTML headings.: Represents a thematic break.: Renders text in italic.: Embeds an image.: Indicates text that has been inserted into a document.: Defines a list item.: Defines an image map.: Defines an ordered list.: Defines a paragraph.: Defines preformatted text.: Defines a short quotation.: Renders text with a line through it (deprecated).: Indicates sample output from a computer program.: Renders text in a smaller size.: Groups inline-elements in a document.: Renders text with a strikethrough (deprecated).: Indicates that its contents have strong importance.: Contains style information for a document.: Defines subscripted text.: Defines superscripted text.: Defines a table.
: Groups the body content in a table.: Defines a cell in a table. : Groups the footer content in a table.: Defines a header cell in a table. : Groups the header content in a table.: Defines a row in a table. : Renders text in teletype or a monospaced font.: Underlines text.: Defines an unordered list.: Indicates a variable in a programming context.
HTML Attributesabbr: Specifies a shorter version of the content in aelement. accesskey: Specifies a shortcut key to activate/focus an element.align: Specifies the alignment of the content (deprecated).alt: Provides alternative text for an image.axis: Categorizes cells in a table.bgcolor: Specifies the background color of an element (deprecated).border: Sets the border around table cells (deprecated).cellpadding: Specifies the space between the cell wall and its contents in a table (deprecated).cellspacing: Specifies the space between cells in a table (deprecated).char: Aligns the content of a cell to a character.charoff: Sets the number of characters the content will be offset from the character specified by the char attribute.charset: Specifies the character encoding.cite: Specifies a URL to a document that explains the quote or change.class: Specifies one or more class names for an element.color: Specifies the color of text (deprecated).colspan: Specifies the number of columns a cell should span.compact: Used to reduce the size of the list markup (deprecated).coords: Specifies the coordinates of an area in an image map.datetime: Specifies the date and time.dir: Specifies the text direction.face: Specifies the font face