CSS class

Last Updated:
Back to Main Index

Class refers either to a special attribute found in HTML elements that allows selection of those elements in CSS, or a a collection of variables and functions working with these variables in PHP.

CSS Class

In HTML:

The<a> element’s class attribute of “button” allows us to apply styling to that element, and any other element with the button class attribute.

In CSS:

PHP Class

See  PHP Manual: class

Similar to:
Class