16.6.0 HTML and CSS Tags and Attributes Supported By Out Tags
Along with text and images, the Out Tag can also display HTML. In doing so, the HTML tags are converted to their Microsoft Office equivalents. For example, if an HTML snippet has a bold tag <b> applied it will convert the text it surrounds to be bold when displayed in Microsoft Office report template output.
Here is a list of supported HTML Tags and attributes.
Don't forget you must set the Out Tag property type to TEMPLATE for the HTML to be properly interpreted. This functionality is not supported in PowerPoint Templates, so HTML will not be rendered.
Changes in Version 16.3.0
The following HTML tags were added:
- <h1>
- <h2>
- <h3>
- <h4>
- <h5>
- <h6>
The following CSS attributes were added:
- border-style
- border-color
- border-width
- font-family
- font-style (italics/oblique only)
- font-variant (small-caps only)
- font-weight
- line-height
- text-align
- text-decoration (underline and line-through only)
- vertical-align
Supported HTML and CSS Tags and Attributes
Tag | HTML Attributes | CSS Attributes |
---|---|---|
<a> | href; style |
|
<b> |
style |
|
<body> |
style |
|
<br/> |
none | |
<div> |
bgcolor; style |
|
<em> |
style |
|
<font> |
color; face; size; style |
|
<i> |
style |
|
<img/> |
alt; src |
none |
<li> |
style |
|
<ol> |
style |
|
<p> |
align; bgcolor; class; style |
|
<span> |
bgcolor; style |
|
<strike> |
style |
|
<strong> |
style |
|
<sub> |
style |
|
<sup> |
style |
|
<table> |
bgcolor; border; style; width |
|
<tr> |
bgcolor |
|
<td> |
bgcolor; style; width |
|
<u> |
style |
|
<ul> |
style |
|
<h1> | align |
|
<h2> | align |
|
<h3> | align |
|
<h4> | align |
|
<h5> | align |
|
<h6> | align |
|
Supported Formats for HTML
HTML Attribute | Supported Formats |
---|---|
alt | any text |
align | left; center; right; justify |
bgcolor |
|
border | px values |
class | any text |
color |
|
face | any text |
href | any text |
size |
|
src | any text |
style | CSS |
width |
|
Supported Formats for CSS
CSS Attribute | Supported Formats |
---|---|
background-color |
|
color |
|
font-size |
|
width |
|
CSS elements must be identified individually in the current version. For instance you cannot specify a border with the “shorthand” property like:
border: 5px solid red;
The border must be defined like:
border-width: 5px;
border-style: solid;
border-color: red;
0 Comments
Add your comment