Yes, and Sigil also uses them that way when marking words for inclusion in an index, marking potential headers, etc.
In fact, for spellchecking some html software adds a "spellerror" class (with an onhover menu) although it has a css definition to do a red squiggly underline) and added spans to mark potentially misspelled words and then uses javascript to remove that class when a user marks the word as ignore or correct. That way spellchecking can be external to the browser engine because some browser spellcheck dictionaries can leave a lot to be desired.
So the "misuse" of class names is one way to "mark" things in the DOM for a variety of reasons.
|