$('div').addClass('active');
// here active is the class name which you want to apply on your html page.
// div is the element on which you apply specified class.
// here active is the class name which you want to apply on your html page.
// div is the element on which you apply specified class.