Question

HTML Class Attribute Usage

  • 23 February 2022
  • 0 replies
  • 84 views

Userlevel 3

Hi all,

I am looking at the HTML sanitization Looker documentation and I am curious if anyone has a good use case for the CLASS attribute within an HTML element.

I know that with normal HTML/CSS, classes save a ton of time and space for code and have even greater possibilities when combined with JavaScript.  However, since INLINE CSS is the only supported CSS I can find and I don’t believe JS is applicable here, I feel like the CLASS attribute is not useful.

I would love to be proven wrong and see some cool examples if you have them.

Take care!


This topic has been closed for comments