HTML tag attributes for a Domino serverAdded by Julia Brown on June 27, 2011 | Version 1
The HTML tab appears on many properties boxes. If you are designing an application that is going to be used on the Web and are using HTML 4, the HTML tab easily lets you apply core HTML 4 attributes that are common to a number of objects, such as Cascading Style Sheets (CSS) directives.
Domino incorporates the values of these attributes to the HTML that it creates at runtime.
When you are using the HTML tag attributes, remember the following:
- The HTML must be ASCII characters.
- Do not include quotation marks when you enter the attributes in the various fields, except for the Other field.
- Other needs quotation marks, as shown in the table below.
|HTML tag attributes||Description|
|Class||Used to apply a CSS class for a defined object. |
For example, if the object's name is ZipCode, the class could be Numeric.
CSS styles are defined in the HTML Head Content event for a form or page.
|Style||Used to apply specific CSS styles to an object using in-line CSS. For example, if the object's name is ZipCode, the class is Numeric, the style could be font-size:10pt. If you have more then one value, separate them with a semicolon; for example, ont-size:10pt;|
|Title||Used generally in Explorer 4.x and later to provide the user with a tip or prompt. For example, if the object's name is ZipCode, the class is Numeric, the title could be Enter your Zip Code. The title displays differently on different browsers.|
|Other||Used for additional HTML tag attributes, and must be written as pure HTML code. For example, instead of writing ZipCode in the ID/Name box, you have to write ID="ZipCode."|
You may need to use HTML tag attributes for programmable tables.
For information on creating programmable tables (a table that switches rows based on an action or field formula), see the Domino Designer Help in the product, or here in the wiki.