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

Give the syntax of css?

1 Answers  


Why do we need singleton pattern?

1 Answers  


Is oop a design pattern?

1 Answers  


what is the lazy design pattern?

1 Answers  


What are the additional productivity features and enhancements included with Quartus II software version 6.0?

1 Answers  


What are the 23 design patterns?

1 Answers  


What are External Style Sheets?

1 Answers  


What is the executor design pattern?

1 Answers  


What is difference between GoF and J2EE patterns?

1 Answers   Accenture,


How would you improve the UX design of our product?

1 Answers  


How can we design/implement singleton object?

3 Answers   HP,


What is the use of design patterns?

1 Answers  


Categories