I18n and css

Is there any way to add some class of the css stylesheet to the text
that you want to translate??
Exemple:
what:
  txt: " <li class="exemple"> Exemple</li>"

Thanks in advance
Belen