You can add custom HTML attributes to pages and page elements, which are rendered on
the HTML tag of the page element. For example, this is useful when working with third-party
frameworks that render page elements differently based on certain attributes.
Required Editions
| Available in: Salesforce Classic |
|
Available for purchase in: Enterprise, Performance,
and Unlimited Editions
Available (with limitations) in:
Developer Edition
|
| User
Permissions Needed |
| To build, edit, and manage Site.com sites: |
Site.com Publisher User field enabled on the
user detail page
AND
Site administrator or designer role
assigned at the site level
|
-
Select the relevant page or page element in the Page Structure pane.
-
In the HTML Attributes section of the Properties pane, click
.
-
Enter a name and value for the HTML attribute.
-
Click Save.
To delete an HTML attribute, select it and click
.
To change the order in which an HTML attribute is rendered, select it and click
or
.