View Single Post
Old 07-26-2017, 02:27 PM   #12
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,110
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Class names are meant to describe what classes (logical groupings of any sort you wish to use) an HTML element belongs to. Classes do not need to be defined anywhere.

They are handy for CSS to target and associate with styles and for use in Javascript, but that need not be the case. Sometimes classes are merely semantic. For example you could mark poetry with class="poem" without associating any visible style with that class.

Last edited by jhowell; 07-26-2017 at 02:32 PM. Reason: typos
jhowell is offline   Reply With Quote