Give the syntax of css?



Give the syntax of css?..

Answer / swapna

CSS syntax = selector {property: value}
selector is HTML element/tag
Property is attribute
Value is some possible value accepted by property
The property and value are separated by a colon, and
surrounded by curly braces.
Ex:- body {color: black}
If the value is multiple words, put quotes around the
value:
p {font-family: "sans serif"} Applied for <p>?</p>

If you wish to specify more than one property, you must
separate each property with a semicolon.
Ex:- p {text-align: center;
color: black;
font-family: Arial }

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Design Patterns Interview Questions

Which design pattern is mostly used in net?

0 Answers  


What is software 'quality'?

2 Answers  


What is singleton design pattern in java?

0 Answers  


Can you explain singleton pattern?

0 Answers  


4. Identify and bound the SOI’s Operating Environment.

0 Answers  






what is diffrence between Function Oriented Design and Obeject Oriented design

11 Answers   IBS, TCS,


What is the use of such a class?

0 Answers  


What is factory method in design pattern?

0 Answers  


Quartus II software version 6.0 is available for which operating systems (OS)?

0 Answers  


what is a Design Pattern?

5 Answers   TCS,


Give the syntax of css?

1 Answers  


when performing a functional test on a phone calculator,if pressing on a button does not function what do i do next

3 Answers   IBM,


Categories