HTML to PDF converter for Java and .NET

HOME   FEATURES   PRODUCTS   DOWNLOADS   BUY NOW!   SUPPORT

PD4ML

Supported HTML tags.

 

This information is not obliging.

Name

Supported

Supported Attributes

Comments

<a>

Y

class="class name"
href="URI for linked resource"
id="document-wide unique id"
name="name of target location"
style="associated style info"
title="advisory title"

Anchor. "Title" attribute defines target caption to appear in the PDF bookmarks list.

<abbr>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

abbreviated form (e.g. WDVL)

<acronym>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

 

<address>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

information on author

<applet>

N

 

Java applet

<area>

N

 

client-side image map area

<b>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

bold text style

<base>

Y

href="URI for linked resource"

document base URI

<basefont>

N

 

base font size

<bdo>

N

 

I18N BiDi over-ride

<big>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

large text style

<blockquote>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

long quotation

<body>

Y

background="URL of background image"
bgcolor="color name"
class="class name"
dir="direction for weak/neutral text"
id="document-wide unique id"
style="associated style info"

document body

<br>

Y

 

forced line break

<button>

N

 

push button

<caption>

N

 

table caption

<center>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

shorthand for: div align="center"

<cite>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

citation

<code>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

computer code fragment

<col>

N

 

table column

<colgroup>

N

 

table column group

<dd>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

definition description

<del>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

deleted text

<dfn>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

instance definition

<dir>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

directory list

<div>

Y

align="left - center - right - justify"
class="class name"
id="document-wide unique id"
style="associated style info"

generic language/style container

<dl>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

definition list

<dt>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

definition term

<em>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

emphasis

<fieldset>

N

 

form control group

<font>

Y

class="class name"
color="color"
face="font name(s)"
id="document-wide unique id"
size="1-7 ()"
style="associated style info"

local change to font

<form>

Y

 

interactive form

<frame>

N

 

subwindow

<frameset>

N

 

window subdivision

<h1>,<h2>,<h3>
<h4>,<h5>,<h6>

Y

align="left - center - right - justify"
class="class name"
id="document-wide unique id"
style="associated style info"

heading

<head>

Y

 

document head

<hr>

Y

align="left - center - right"
class="class name"
id="document-wide unique id"
noshade
size="pixels"
style="associated style info"
width="percentage - pixels"

horizontal rule

<html>

Y

 

document root element

<i>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

italic text style

<iframe>

N

 

inline subwindow

<img>

Y

align="left - middle - right - top"
border="pixels"
class="class name"
height="pixels"
hspace="pixels"
id="document-wide unique id"
src="URL of image"
style="associated style info"
vspace="pixels"
width="image width"

embedded image

<input>

Y

align="left - middle - right - top"
checked
class="class name"
disabled
id="document-wide unique id"
size="field size"
src="URL of image"
style="associated style info"
type="input type/text"
value="value"

form control

<ins>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

inserted text

<isindex>

N

 

single line prompt

<kbd>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

 

<label>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

form field label text

<legend>

Y

 

fieldset legend

<li>

Y

class="class name"
id="document-wide unique id"
style="associated style info"
type="content type"
value="value"

list item

<link>

Y

href="URI for linked resource"
type="content type"

a media-independent link

<map>

N

 

client-side image map

<menu>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

menu list

<meta>

Y

name="author - description - keywords"
content="text"

generic meta information. "description" defines subject of PDF document

<noframes>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

alternate content container for non frame-based rendering

<noscript>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

alternate content container for non script-based rendering

<object>

N

 

generic embedded object

<ol>

Y

class="class name"
id="document-wide unique id"
start="starting sequence number"
style="associated style info"
type="content type"

ordered list

<optgroup>

N

 

option group

<option>

Y

selected
value="value"

selectable choice

<p>

Y

align="left - center - right - justify"
class="class name"
id="document-wide unique id"
style="associated style info"

paragraph

<param>

N

 

named property value

<pre>

Y

class="class name"
id="document-wide unique id"
style="associated style info"
width="width specification"

preformatted text

<q>

N

 

short inline quotation

<s>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

strike-through text style

<samp>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

sample program output, scripts, etc.

<script>

N

 

script statements

<select>

Y

class="class name"
id="document-wide unique id"
size="number"
style="associated style info"

option selector

<small>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

small text style

<span>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

generic language/style container

<strike>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

strike-through text

<strong>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

strong emphasis

<style>

Y

 

CSS style info. Allowed only in <head>

<sub>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

subscript

<sup>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

superscript

<svg>

Y

align="left - middle - right - top"
border="pixels"
class="class name"
height="pixels"
hspace="pixels"
id="document-wide unique id"
style="associated style info"
viewBox="x1 y1 x2 y2"
vspace="pixels"
width="image width"

embedded scalable vector graphics
(nested <svg> tags are not allowed)

<table>

Y

align="left - center - right"
bgcolor="color name"
border="pixels"
cellpadding="pixels"
cellspacing="pixels"
frame="parts of frame to render"
id="document-wide unique id"
rules="rulings between rows and cols"
style="associated style info"
width="column width specification"

 

<tbody>

N

 

table body

<td>

Y

align="left - center - right - justify"
bgcolor="color name"
class="class name"
id="document-wide unique id"
style="associated style info"
valign="top - middle - bottom - baseline"
width="column width specification"

table data cell

<textarea>

Y

class="class name"
cols="number"
id="document-wide unique id"
readonly
rows="number"
style="associated style info"

multi-line text field

<tfoot>

N

 

table footer

<th>

Y

align="left - center - right - justify"
bgcolor="color name"
class="class name"
cols="number"
height="pixels"
id="document-wide unique id"
nowrap
rows="number"
style="associated style info"
valign="top - middle - bottom - baseline"
width="column width specification"

table header cell

<thead>

N

 

table header

<title>

Y

 

document title

<tr>

Y

bgcolor="color name"
class="class name"
id="document-wide unique id"
style="associated style info"

table row

<tt>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

teletype or monospaced text style

<u>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

underlined text style

<ul>

Y

class="class name"
id="document-wide unique id"
style="associated style info"
type="content type"

unordered list

<var>

Y

class="class name"
id="document-wide unique id"
style="associated style info"

instance of a variable or program argument

Proprietary tags

<pd4ml:attachment>

Y

description="text description"
src="URL of attachment"
icon="Graph - PushPin - Paperclip - Tag"

embeds external resource as PDF attachment.

<pd4ml:bookmark>

Y

name="bookmark caption"
href="local anchor or external URL"

See example

<pd4ml:page.break>

Y

ifSpaceBelowLessThan= pixels
htmlWidth=pixels

htmlWidth="reset"
pageFormat="rotate"
pageFormat="WxH"
pageFormat="reset"
next="even - odd"
pageCounter=pagenum

forced page break. ifSpaceBelowLessThan allows to suppress the page break if the available space on the current page is more than the specified value. htmlWidth also forces PD4ML to change current htmlWidth (screenWidth) value and to affect HTML-to-PDF scaling factor. "reset" returns htmlWidth to the initial state.

<pd4ml:footnote>

PD4ML Pro

noref
 
defines HTML-enabled footnote text. By default it leaves an auto incremented footnote index/reference in the place, where the tag defined, and moves the footnote text to the bottom of the current PDF page. 

noref suppresses the footnote index/reference generation.

<pd4ml:footnote.caption>

PD4ML Pro


allows to define a separator between main content and footnotes. For example:

<pd4ml:footnote.caption>
    <hr noshade height=1 style="margin-bottom: 0">
</pd4ml:footnote.caption>

<pd4ml:page.footer>

PD4ML Pro

scope="scope"
height="height"
width="width"
style="associated style info"
defines dynamic PDF page footer. $[page], $[total] and $[title] placeholders are reserved. Affects all subsequent pages. Can be overriden by another footer definition. Scope attribute explicitely predefines pages, where the footer should appear. Example: scope="even,4,8-16,32+,skiplast"

Note: distinguish the HTML tag from <pd4ml:footer> JSP custom tag, which is mapped to PD4ML API calls.

<pd4ml:page.header>

PD4ML Pro

scope="scope"
height="height"
width="width"
style="associated style info"
defines dynamic PDF page header. $[page], $[total] and $[title] placeholders are reserved. Affects all subsequent pages. Can be overriden by another header definition. Scope attribute explicitely predefines pages, where the header should appear. Example: scope="odd,5,15-25,45+,skiplast"

Note: distinguish the HTML tag from <pd4ml:header> JSP custom tag, which is mapped to PD4ML API calls.

<pd4ml:toc>

PD4ML Pro

pncorr="number"

 table of contents. pncorr - a correction value to add to page numbers

<pd4ml:include>

  src="URL"
dynvalue="variable"
dynblock="variable"
Includes HTML document or HTML code portion from an external source or passed as dynamic value to PD4ML. See http://pd4ml.com/cookbook/pdf_dynamic_values.htm
dynvalue - renders included HTML as flow tags
dynblock - renders included document as a block element

 

 

Copyright ©2004-17 zefer|org. All rights reserved. Bookmark and Share