HTML Sanitizer Reference

The following table lists the HTML elements and their corresponding attributes that are permitted by the HTML sanitizer in PeopleFluent Learning.

Element Permitted Attributes

a

href, name, rel, target

b

 

big  

blockquote

 

br

 

code  

del

 

div  

em

 

font  

h1

 

h2

 

h3

 

h4

 

h5

 

h6

 

i

 

iframe  

img

alt, height, src, title, width

ins  

li

 

o  

ol

 

p

style, class, width, height

s

 

small  
source src, type

span

style

strike  

strong

 

sub  
sup  

table

align, border, cellpadding, cellspacing, class, height, id, name, style, title, valign, width

td

align, class, colspan, height, id, name, nowrap, rowspan, style, title, valign, width

th

align, class, colspan, height, id, name, nowrap, rowspan, style, title, valign, width

tr

class, id, name, style, title, valign

tt  

u

 

ul

 

video class, width, height