When looking at a stat table, the top row is usually the "header", in
which each section is a label for the values in the rows below that are in
the same column. Most of the time, the "header" is a shortened version
of what it is representative of. To help viewers understand what the shortened
version in the header means, a glossary or something of the sort is helpful
to map the header label to their respective meaning.
2. Glossary HTML
As shown, the html for the glossary is fairly
simple where
div class="Glossary" is the glossary and the
span class="Glossarytext" contains the text shown when the
cursor hovers over the glossary.
3. Glossary CSS
Since the html for the glossary is so simple, this means
that there is something going on in the background that is hard to see
from inspect. In this case is the use of CSS.
4. Flexible Glossary
Now that I have the structure of the glossary, now I just need to make
it show what label means what on the stat table. At the same time, since
I have multiple stats with different table headers, I need the glossary to
be flexible in the sense that I can easily change what is shown.