The following is an example of a document layout using special tags for single attachment. You can compare the HTML code, the document layout, and the view of document linked to this layout to gain a better understanding of document layouts and special tags. The special tags are marked in red in the HTML code for easy identification.
Note: Ensure that your HTML is valid before saving as the system removes invalid HTML tags, attributes, and styles. If you want to allow multiple attachments to a document, you need to copy the tag as many as the number of number of attachments that you want to allow.
<head><meta content="MSHTML 6.00.5730.11" name="GENERATOR"></head><body contenteditable="false"> <table cellspacing="0" cellpadding="5" width="100%" style="border: black 1px solid"> <tr><td width="75%" bgcolor=#998856> <h3 style="color: #FFFFFF">[BACO_DOC Subject]</h3></td> <td width="25%">Rate this: [BACO_DOC Voting]</td></tr> <tr><td style="border-top: black 1px solid" colspan="2"> [BACO_DOC Content]</td></tr> <tr><td style="border-top: black 1px solid" colspan="2"> <b><u>Attached file:</u></b><br> [BACO_DOC Attachment]</td></tr></table> <ul><li style="padding-right: 5px; display: inline; font: bold 10px Arial; position: relative"> Document ID: [BACO_DOC DocID]</li> <li style="display: inline; font: bold 10px Arial; position: relative"> Created by: [BACO_DOC CreatedByLink target="_blank"]</li></ul> </body>