You can create a CSS rule to automate the formatting of HTML tags or a range of text identified by class or ID attributes.
Place the insertion point in the document, and then do one of the following to open the New CSS Rule dialog box:
Select Format > CSS Styles > New.
In the CSS Styles panel (Window > CSS Styles), click the New CSS Rule (+) button located in the lower-right side of the panel.
Select text in the Document window, select New CSS Rule from the Targeted Rule pop-up menu in the CSS Property inspector (Window > Properties); then click the Edit Rule button or select an option from the Property inspector (for example, click the Bold button), to initiate a new rule.