Adding a class to a table

Adding a table element to a page shows an element named Table in the Overview but it actually points a div tag in the html with the table tag within it. I need to add a class name to the table tag so it can be referenced by a js I found on the web that filters the data in a table as the user types a search string into a search field, but there doesn't seem to be a way to add an attribute to the table tag, only the div tag.

Any ideas?

Figured out that if I highlight the table tag in the HTML section, I can add the class name to it so problem solved