Using HTML with BarTender

You can use HyperText Markup Language (HTML) to format objects by using tags. Typically, HTML is used to format websites, but you can use it in BarTender to format a text object.

ClosedExample of HTML Formatting

The following example shows how to use HTML inside a text object.

<html>

<head>

<style>

body {font-size:8pt; font-family: Arial;}

table {background: AntiqueWhite; width: 300px;}

th {background: DarkBlue; color: White;}

td {border: solid 1px;}

</style>

</head>

<body>

<table>

<tr>

<th> First Name </th>

<th> Last Name </th>

<th> City </th>

<th> State </th>

</tr>

<tr>

<td> Lisa </td>

<td> Johnson </td>

<td> Seattle </td>

<td> WA </td>

</tr>

<tr>

<td> John </td>

<td> Smith </td>

<td> Baltimore </td>

<td> MD </td>

</tr>

<tr>

<td> Sarah </td>

<td> Donahue </td>

<td> Dallas </td>

<td> TX </td>

</tr>

</table>

</body>

</html>

When you insert this sample code into a text object, the following object is printed on your item.

In This Section