A class is a template that defines variables for objects with similar properties. These templates create multiple instances of objects with consistent properties, allowing for easy modification and customization without affecting other class instances. 

Web developers and programmers typically use classes alongside objects in general-purpose and object-oriented programming (OOP) languages like HTML, JavaScript, and Python. 

For instance, "shape" is a class, whereas circle, triangle, and square are objects. In this example, "shape" is a reusable template that objects replace as absolute values — circle, triangle, and square.

Visit Webflow University to add custom attributes to classes. Learn how to add classes and implement web styling using classes to improve your site’s aesthetics and functionality.

Other glossary terms

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Hmm…we couldn’t find any results. Try a different search term or reset the filter.
Reset the filter
Load more