Get the class attribute value or null if there is no class attribute.
class
The class attribute value or null.