in .tmTheme files the scope key defines how a element is highlighted:
name HTML: Attribute
In addition to the excellent answers already posted, the Scopes Stats tab of TMTheme Editor displays a useful list of all the scopes in its 236 colour themes, with the most commonly-supported scopes at the top.