HTML can be used within the IntelliSurvey software to format pages, insert special characters, create tables, and more.
Use the html
tag independently or within a text widget to format and display content as needed.
html: <h1><b>Let's do this...</b></h1>
set text: PRODDESC
html: <<END
<p>This product has these features:</p>
<ul>
<li>Smooth surface</li>
<li>Stain resistant</li>
<li>Award winning, patented smell.</li>
</ul>
END
Tip! Consider using heredoc syntax to make your HTML more readable, as shown above.
Tags
The most commonly used HTML tags are listed below.
Formatting tags
Tag | Description | Example |
<b> |
Bold | <b>This is bold text</b>. This isn't. |
<i> |
Italics | <i>This is italicized text</i>. This isn't. |
<u> |
Underlined | <u>This is underlined text</u>. This isn't. |
List tags
Tag | Description | Example |
<ol> |
Ordered list (numbered) | <ol><li>First</li><li>Second</li><li>Third</li></ol> |
<ul> |
Unordered list (bulleted) | <ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul> |
<li> |
List item (used inside <ul> or <ol> ) |
<ul><li>Apples</li><li>Oranges</li><li>Bananas</li></ul> |
Other common tags
Tag | Description | Example |
<a> |
Anchor | <a href="URL here" title="tool tip">Clickable hyperlink here</a> |
<br> |
Line break | This is text.<br>This is text on the following line. |
<img> |
Image | <img src="myimage.png"> |
<p> |
Paragraph | <p>This text is in a paragraph</p> |
<table> |
Table | See Custom HTML tables. |
Special characters
HTML entity codes help prevent unwanted interpretation by the survey parser. For example, in some cases it may be necessary to use $
in place of '$' so the text following the dollar sign is not interpreted as as variable.
Here are some commonly used codes for special characters. Note, these are organized in alphabetical order by Description.
Symbol | HTML Entity code | Description |
& | & |
Ampersand |
• | • |
Bullet point |
£ | £ |
British pound |
, | , |
Comma |
$ | $ |
Dollar sign |
€ | € |
Euro sign |
— | — |
Em dash |
– | – |
En dash |
! | ! |
Exclamation mark |
> | > |
Greater than |
< | < |
Less than |
# | # |
Number sign |
% | % |
Percent |
. | . |
Period |
? | ? |
Question mark |
" |
" or "
|
Quotation mark - double |
' |
' or '
|
Quotation mark - single apostrophe |
¥ | ¥ |
Yuan and Yen |
Comments
0 comments
Please sign in to leave a comment.