Private betav0.1.0
Docs
Format developer documentation

Supported HTML elements

Which standard HTML elements are supported in Format PDFs.

Most standard HTML elements render in Format PDFs. Although some are unsupported as PDFs are static print documents with no interactivity, scripting, or media playback. This is a reference of support.

We also recommend reading the Document model pages to get a feel for how to start working with markup in Format.

ElementSupported
HTML document
<html>Not relevant in Format documents
<body>Not relevant in Format documents
<head>Not relevant in Format documents
<title>Use top-level Format document primitive
<style>
<meta>Not relevant in Format documents
<link>Stylesheets only
<base>Not relevant in PDFs
Structure
<div>
<section>
<article>
<aside>
<nav>
<header>
<footer>
<main>
<address>
<hgroup>
<search>
Block
<h1> – <h6>
<p>
<pre>
<blockquote>
<ol>, <ul>, <li>
<dl>, <dt>, <dd>
<hr>
<figure>, <figcaption>
<menu>
Inline
<a>Links are preserved
<span>
<em>
<strong>
<small>
<s>
<cite>
<q>
<dfn>
<abbr>No hover expansion
<time>
<code>
<var>
<samp>
<kbd>
<sub>, <sup>
<i>, <b>, <u>
<mark>
<data>
<bdi>, <bdo>
<br>
<wbr>
<ins>, <del>
<ruby>
<rt>, <rp>, <rb>, <rtc>
Tables
<table>
<caption>
<colgroup>
<col>
<thead>
<tbody>
<tfoot>
<tr>
<th>
<td>
Forms
<form>
<fieldset>
<legend>
<label>
<input>Support coming in the future
<textarea>Support coming in the future
<button>
<select>Support coming in the future
<option>Support coming in the future
<optgroup>
<output>
<selectedcontent>
Embedded content
<img>
<svg>
<math>
<picture>Responsive images are not relevant in PDFs
<source>Responsive images are not relevant in PDFs
<iframe>
<embed>
<object>
<param>
<video>
<audio>
<track>
Interactive
<details>Renders statically
<summary>Renders statically
<progress>Renders statically
<meter>
<dialog>
Scripting
<script>
<noscript>
<template>
<canvas>
Was this page helpful?