object.className corresponds to class= attribute in the html tag.