What is a CSS Property?

By: Dusty Arlia
Published on February 5, 2013
Last Updated on Saturday, July 18, 2015 at 2:21 PM
Total Updates: 2

A CSS property is a style attribute of an HTML element. Some examples include:

  • color
  • font-family
  • font-weight
  • height
  • width

These properties get assigned values in CSS rules. You will only have access to certain style attributes depending on the HTML element and the browser you're coding for.

Comments:

Ad:

Ad: