|
Take care when configuring attributes to override values set in normal composition, e.g.id, class, style, align, lang, rowspan, colspan. Changes to these may cause unwanted effects in output. For example, if the id attribute is used as a link target, overriding the value of this attribute could result in broken links.
|
Semantic HTML Attribute
|
Tagged PDF Attribute
|
alt
|
Alt
|
rowspan
|
RowSpan
|
colspan
|
ColSpan
|
title
|
Title
|
title (for abbr tag)
|
E
|
lang
|
Lang
|
HTML Attribute
|
Not Permitted for These HTML Tags
|
align
|
caption, img, table, hr, div, h1—h6, p, col, colgroup, tbody, td, tfoot, th, thead, tr
|
bgcolor
|
table, tr, td, th, body
|
cellpadding
|
table
|
cellspacing
|
table
|
char
|
col, colgroup, tbody, td, tfoot, th, thead, tr
|
charoff
|
col, colgroup, tbody, td, tfoot, th, thead, tr
|
clear
|
br
|
frame
|
table
|
height
|
td, th
|
rules
|
table
|
size
|
hr
|
type
|
li, ol, ul
|
valign
|
col, colgroup, tbody, td, tfoot, th, thead, tr
|
width
|
hr, table, td, th, col, colgroup, pre
|