使用瀏覽打開主題
「超文字標記語言」(通常縮寫為 HTML) 是一種讓您可以使用標記設定物件格式的標記語言。標記語言主要用於設定網站的格式,但是也可以用於 BarTender 來設定文字物件的格式。
以下範例說明如何在文字物件內使用 HTML。
<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>
當將上面的範例代碼插入到文字物件中時,將會在項目上列印以下物件:
在本節中