Question:Write the functions of hasClass and html methods.
Answer hasClass(class): Returns true if the specified class is present on at least one of the set of matched elements. Html(): Get the html contents (innerHTML) of the first matched element.
+ Report
Write the functions of hasClass and html methods.