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

In what cases are synchronous architectures more appropriate than asynchronous architectures?

1 Answers   Wipro,


SAP Design Studio live classes by Exports

1 Answers   SAP Labs,


What is the behavioral design pattern?

0 Answers  


Is singleton scope thread safe?

0 Answers  


how to pring 10 item per page in smartform

0 Answers  


5.Develop an entity relationships diagram that identi&#64257;es physical entity relationships.

0 Answers  


What is singleton and factory pattern?

0 Answers  


Are singletons bad?

0 Answers  


Is oop a design pattern?

0 Answers  


What are the advantages of asynchronous architectures?

1 Answers   Microsoft,


What are the most commonly used design patterns?

0 Answers  


Why singleton beans are not thread safe?

0 Answers  


Categories