View Single Post
Old 03-26-2020, 01:35 PM   #4
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,884
Karma: 6120478
Join Date: Nov 2009
Device: many
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.
KevinH is offline   Reply With Quote