Available HTML tags and attributes for custom messages¶
To prevent undesired dynamic scripts from occurring, tags other than the following elements and attributes may be deleted from the message or sanitized and invalidated.
Warning
This may occur without notice depending on bug repairs or function improvements.
Available attributes in any tag¶
- The following attributes are available on all available tags.
- id
- class
- style
- data-repro--wrapper
- data-repro--close
- data-repro--primary-btn
- data-repro--secondary-btn
- data-silver-egg-cref
- data-silver-egg-prod
Available tags and attributes¶
The following tags are available in custom messages. In addition, there are attributes that can be used for each tag in addition to Available attributes in any tag. In the table, Available attributes in any tag are represented by ' * '.
Tag |
Available attributes |
---|---|
a | target, href, title, * |
abbr | test, * |
address | * |
area | shape, coords, href, alt, * |
article | * |
aside | * |
audio | autoplay, controls, loop, preload, src, * |
b | * |
bdi | dir, * |
bdo | dir, * |
big | * |
blockquote | cite, * |
button | autofocus, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, name, type, value, * |
br | * |
caption | * |
center | * |
cite | * |
code | * |
col | align, valign, span, width, * |
colgroup | align, valign, span, width, * |
dd | * |
del | datetime, * |
details | open, * |
div | * |
dl | * |
dt | * |
em | * |
fieldset | disabled, form, name, * |
font | color, size, face, * |
footer | * |
form | accept, accept-charset, action, autocomplete, enctype, method, name, novalidate, target, * |
h1 | * |
h2 | * |
h3 | * |
h4 | * |
h5 | * |
h6 | * |
header | * |
hr | * |
i | * |
img | src, alt, title, width, height, * |
input | accept, align, alt, autocomplete, autofocus, checked, dirname, disabled, form, formaction, formenctype, formmethod, formnovalidate, formtarget, height, list, max, maxlength, min, multiple, name, pattern, placeholder, readonly, required, size, src, step, type, value, width, * |
ins | datetime, * |
label | for, form, * |
legend | * |
li | * |
mark | * |
nav | * |
ol | * |
option | disabled, label, selected, value, * |
optgroup | disabled, label, * |
p | * |
pre | * |
s | * |
section | * |
select | autofocus, disabled, form, multiple, name, required, size, * |
small | * |
span | * |
sub | * |
sup | * |
strong | * |
table | width, border, align, valign, * |
textarea | autofocus, cols, dirname, disabled, form, maxlength, name, placeholder, readonly, required, rows, wrap, * |
tbody | align, valign, * |
td | width, rowspan, colspan, align, valign, * |
tfoot | align, valign, * |
th | width, rowspan, colspan, align, valign, * |
thead | align, valign, * |
tr | rowspan, align, valign, * |
tt | * |
u | * |
ul | * |
video | autoplay, controls, loop, preload, src, height, width, * |