NIELIT O Level Exam

CSS syntax is divided into____ part

CSS syntax is divided into____ part

CSS सिंटैक्स को____ भागो में विभाजित किया गया है

A. Selector and Declaration सिलेक्टर और डिक्लेरेशन

B. Property name and value प्रॉपर्टी नाम और वैल्यू

C. Color and style कलर और स्टाइल

D. None-of these इनमें से कोई नहीं




Correct Answer is :

A. Selector and Declaration



Explanation

CSS syntax is divided into two main parts:

Selector: A selector is used to target and select the HTML elements that you want to style. It defines which elements in the HTML document the styles will be applied to.

Declaration Block: The declaration block is a set of one or more declarations enclosed in curly braces {}. Each declaration within the block consists of a property and a value. Properties are the specific styles you want to apply (e.g., color, font-size), and values are the settings for those properties.

Latest Current Affairs 2024 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad