As you are writing HTML code in the WSYWG editor to add or edit content in Canvas, you may find that some of the code you wrote doesn't appear when you view the content. This happens because Canvas "sanitizes" certain code, or removes code that it can't use. This guide shows you what HTML code is NOT sanitized so that you can be sure that your content matches your code.
For an HTML element reference, go to http://www.w3schools.com/tags/
HTML Tags Allowed
a, b, blockquote, br, caption, cite, code, col, hr, h2, h3, h4, h5, h6, h7, h8, del, ins iframe, colgroup, dd, div, dl, dt, em, i, img, li, ol, p, pre, q, small, span, strike strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, u, ul, object, embed, param
Attributes Allowed on HTML Elements
This is a list of HTML elements and which attributes they allow. All elements allow style and classid.
a: href, title, target, name
blockquote: cite
col: span, width
colgroup: span, width
img: align, alt, height, src, title, width
iframe: src, width, height, name, align, frameborder, scrolling
ol: start, type
q: cite
table: summary, width, border, cell padding, center, frame, rules, dir, lang
tr: align, valing, dir
td: abbr, axis, colspan, rowspan, width, align, valign, dir
th: abbr, axis, colspan, rowspan, width, align, valign, dir, scope
ul: type
param: name, value
object: width, height, style, data, type, classid, codebase
embed: name, src, type, allowfullscreen, pluginspage, wmode, allowscriptaccess, width, height
Allowed Protocols for Some Elements
a href: ftp, http, https, mailtohref, title, target, namespan, width, align, alt, height, src, title, width, start, type, cite, align, valign, dir, abbr, axis, colspan, rowspan, width, align, valign, dir, abbr, axis, colspan, rowspan, width, align, valign, dir, scope
blockquote cite: http, https
img src: http, https
q cite: http, https
object data: http, https
embed src: http, https
iframe src: http, https
style any: http, https
Allowed Style Properties
background, border, clear, color, cursor, direction, display, float, font, height, left line-height, list-style, margin, max-height, max-width, min-height, min-width, overflow, overflow-x, overflow-y, padding, position, right, text-align, table-layout text-decoration, text-indent, top, vertical-align, visibility, white-space, width z-index, zoom
SUU Online Teaching & Learning
canvas@suu.edu
(435) 865-8555