HTML elements and classes for controls on a page
The following table shows the HTML tags and the classes that correspond to the controls you can add to a data access page.
| Control | HTML tags | Class |
|---|---|---|
| Text box | TEXTAREA | MsoTextbox |
| Bound span | SPAN | MsoBoundSpan |
| Label | SPAN | MSTheme-Label |
| Option group label | LEGEND | N/A |
| Scrolling text | MARQUEE | N/A |
| Option group | FIELDSET | N/A |
| Check box | INPUT (type=checkbox) | N/A |
| Option button | INPUT (type=radio) | N/A |
| List box | SELECT | N/A |
| Drop-down list box | SELECT | N/A |
| Command button | BUTTON | N/A |
| Expand | IMG | MsoExpandCollapse |
| Record navigation | TABLE | MsoNavContainer |
| Record navigation buttons | TD | MsoNavButton |
| Hyperlink | A | N/A |
| Image hyperlink | A IMG | N/A |
| Image | IMG | N/A |
| Movie | IMG | MsoMovie |
| Line | HR | N/A |
| Rectangle | SPAN | MsoRectangle |
In the script for a data access page, Microsoft Office Web components are identified by OBJECT tags and by the component's unique class ID (classid) instead of by class.