“Tagged PDF” is not a separate PDF specification. It refers to PDF that includes additional information about the logical structure of the document. Tagged PDF was first defined in PDF 1.4.
The text, graphics and images in Tagged PDF can be extracted and reused for other purposes, for example, to make content accessible to users with visual impairments. PDF/UA files are Tagged PDF files that also conform to additional requirements.
AH Formatter embeds PDF tags (StructElem) for HTML/CSS elements and pseudo-elements as shown in the following table:
HTML element | PDF element |
---|---|
html | Document |
div | Div |
h1 | H1 |
h2 | H2 |
h3 | H3 |
h4 | H4 |
h5 | H5 |
h6 | H6 |
p | P |
ul | L |
ol | L |
li | LI |
li::marker | Lbl |
dl | L |
dt | Lbl |
dd | LBody |
blockquote | BlockQuote |
caption | Caption |
table | Table |
tr | TR |
td | TD |
th | TH |
thead | THead |
tfoot | TFoot |
tbody | TBody |
ruby | Ruby |
rb | RB |
rt | RT |
span | Span |
img | Figure |
a[href] | Link |
other block elements | Div |
other inline elements | Span |