Supported and Unsupported Tags
This is a list of every HTML5 element and whether (and to what extent) it is supported by PresentationML. For specifics of PresentationML's implementation (including special-purpose variations), see the PresentationML page.
Tag | Supported? | Allowed Attributes | PresentationML Support Notes | Description |
<a> | Y | class href (https only) |
| Defines a hyperlink |
<audio> | Y | src (required) href (required) autoplay (required) | Initially only chime.mp3 will be permitted as a source attribute. The autoplay attribute is required. | Defines sound content |
<b> | Y | class | Bold, contains text to be rendered in an emphasized way, by presentation as a bold font if possible. | Defines bold text |
<br> | Y | N/A | Line break | Defines a single line break |
<div> | Y | class | Structure and styling. Where the value of class is entity the data-entity-id attribute MUST be present and MUST refer to an element in the associated EntityJSON data structure. Where the class is absent or any value other than entity, the data-entity-id attribute MUST NOT be present. | Defines a section in a document |
<hr> | Y | N/A | Horizontal rule. | Defines a thematic change in the content |
<i> | Y | class | Italic, contains text to be rendered in a (secondary) emphasized way, by presentation as an italic font if possible. | Defines a part of text in an alternate voice or mood |
<img> | Y | src (required) alt? height? width? | Inline image. Note that size limits will be placed on this element to fit within the wider UI. | Defines an image. |
<li> | Y | class | Unordered list, should be rendered as bullet points if possible. | Defines a list item |
<ol> | Y | class | Ordered list, should be rendered as a numbered list if possible. | Defines an ordered list |
<p> | Y | class | Paragraph, contains text to be rendered as a single block of text. | Defines a paragraph |
<span> | Y | class | See PresentationML for special-purpose variations (cashTag, hashTag, mention) | Defines a section in a document |
<table> | Y | class styles for colspan / rowspan | Simple table. | Defines a table |
<td> | Y | class |
| Defines a cell in a table |
<th> | Y | class |
| Defines a header cell in a table |
<tr> | Y | class |
| Defines a row in a table |
<!--...--> | N |
|
| Defines a comment |
<!DOCTYPE> | N |
|
| Defines the document type |
<abbr> | N |
|
| Defines an abbreviation or an acronym |
<address> | N |
|
| Defines contact information for the author/owner of a document |
<area> | N |
|
| Defines an area inside an image-map |
<article> | N |
|
| Defines an article |
<aside> | N |
|
| Defines content aside from the page content |
<base> | N |
|
| Specifies the base URL/target for all relative URLs in a document |
<bdi> | N |
|
| Isolates a part of text that might be formatted in a different direction from other text outside it |
<bdo> | N |
|
| Overrides the current text direction |
<blockquote> | N |
|
| Defines a section that is quoted from another source |
<body> | N |
|
| Defines the document's body |
<button> | N |
|
| Defines a clickable button |
<canvas> | N |
|
| Used to draw graphics, on the fly, via scripting (usually JavaScript) |
<caption> | N |
|
| Defines a table caption |
<cite> | N |
|
| Defines the title of a work |
<code> | N |
|
| Defines a piece of computer code |
<col> | N |
|
| Specifies column properties for each column within a <colgroup> element |
<colgroup> | N |
|
| Specifies a group of one or more columns in a table for formatting |
<datalist> | N |
|
| Specifies a list of pre-defined options for input controls |
<dd> | N |
|
| Defines a description/value of a term in a description list |
<del> | N |
|
| Defines text that has been deleted from a document |
<details> | N |
|
| Defines additional details that the user can view or hide |
<dfn> | N |
|
| Represents the defining instance of a term |
<dialog> | N |
|
| Defines a dialog box or window |
<dl> | N |
|
| Defines a description list |
<dt> | N |
|
| Defines a term/name in a description list |
<em> | N |
|
| Defines emphasized text |
<embed> | N |
|
| Defines a container for an external (non-HTML) application |
<fieldset> | N |
|
| Groups related elements in a form |
<figcaption> | N |
|
| Defines a caption for a <figure> element |
<figure> | N |
|
| Specifies self-contained content |
<footer> | N |
|
| Defines a footer for a document or section |
<form> | N |
|
| Defines an HTML form for user input |
<h1> to <h6> | N |
|
| Defines HTML headings |
<head> | N |
|
| Defines information about the document |
<header> | N |
|
| Defines a header for a document or section |
<html> | N |
|
| Defines the root of an HTML document |
<iframe> | N |
|
| Defines an inline frame |
<input> | N |
|
| Defines an input control |
<ins> | N |
|
| Defines a text that has been inserted into a document |
<kbd> | N |
|
| Defines keyboard input |
<keygen> | N |
|
| Defines a key-pair generator field (for forms) |
<label> | N |
|
| Defines a label for an <input> element |
<legend> | N |
|
| Defines a caption for a <fieldset> element |
<link> | N |
|
| Defines the relationship between a document and an external resource (most used to link to style sheets) |
<main> | N |
|
| Specifies the main content of a document |
<map> | N |
|
| Defines a client-side image-map |
<mark> | N |
|
| Defines marked/highlighted text |
<menu> |