syntax of css in web development

What is the syntax for defining CSS?

Defining one property to one selector:

  • Selector { property: Value; }

Defining two or multiple properties to one selector:

  • Selector { property: Value; property:value;}


h2 font size: 18px color pink
Selector Property Value Property Value


Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....

Leave a Reply