For information on migrating from the previous version of the [Work Manual] (up to version 17.1.3), please refer to the following document.
Input for [String-type (Markdown)], [Work Manual], and [Description] in the data item settings is in Markdown format. These Markdown inputs also allow you to enter HTML, but there are limitations on the HTML elements that can be used. Also, the HTML elements that can be used differ between [String-type (Markdown)], [Work Manual] and [Description].
0. Common specifications and behavior
- All HTML elements listed support
id,class, andstyleattributes - If any elements other than those listed are written, they will not be recognized as HTML elements and will be output as is as a string.
- If there is a blank line between the start tag (<>) and the end tag (</>), it will not be recognized as an HTML element and will be output as is as a string
1. HTML elements and attributes available in all Markdown input
| Type | HTML element | Attributes (other than id, class, style) |
|---|---|---|
| Segment | <div>, <span>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <hr> | - |
| Text | <blockquote>, <q> | cite (The values which start with http and https can be specified in the cite attribute) |
| <p>, <br>, <em>, <strong>,<cite>, <sub>, <sup>, <pre>, <code> | - | |
| <details>, <summary> | open (* Ver. 17.2 -) |
|
| Physical Style | <b>, <del>, <i>, <small>, <strike>, <u> | - |
| Hyperlink | <a> | href, title, target, rel (The values which start with ftp, http, https, mailto, and # can be specified in the href attribute) |
| List | <ul> | type |
| <ol> | start, type | |
| <dl>, <dt>, <dd>, <li> | - | |
| Table | <table> | summary, width |
| <col>, <colgroup> | span, width | |
| <td> | abbr, align, axis, colspan, rowspan, width | |
| <th> | abbr, align, axis, colspan, rowspan, scope, width | |
| <caption>, <thead>, <tfoot>, <tbody>, <tr> | - | |
| Image/Movie/Audio | <img> | align, alt, height, src, title, width (The values which start with http , https and data can be specified in the src attribute) |
| <video> | controls, height, src, width | |
| <audio> | - |
- The HTML elements that can be used in [String-type (Markdown)] are limited to those listed in Table 1.
- The HTML elements that can be used in [Work Manual] are limited to those listed in Table 1.
2. HTML elements and attributes available in the [Description]
In addition to the HTML elements that can be used in [String-Type (Markdown)] and [Work Manual], there are some that can only be used in the [Description] field on the data item settings screen.
2-1. HTML elements and attributes available in [Description] (all Editions)
In [Description], you can use HTML elements other than those listed in Table 1.
| Type | HTML element | Attributes (other than id, class, style) |
|---|---|---|
| Style | <style> | type |
- M213: Guidance Descriptions on the Operating Screen (Markdown)
- Developers Blog:Design a User-Friendly Input Form
2-2. HTML elements and attributes available in [Description] (Professional edition only)
In the Professional Edition, the [Description] section includes HTML elements other than those listed in Table 1 and Table 2-1.
| Type | HTML tags | Attributes (other than id, class, style) |
|---|---|---|
| Object | <button> | type, onclick (The value of button can be specified in the type attribute) |
| Script | <script> | type, src |
- To avoid conflicts with what is used in Questetra, define the name of your own global functions/variables starting with "user_"
- Reference:: R2132: Questetra Form JavaScript API
- Developers Blog:Utilizing Form JavaScript API
Comments
0 comments
Article is closed for comments.