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

Explain Internal Style Sheets?

1 Answers  


How to test the quality of design ?

1 Answers  


What is the use of design patterns?

0 Answers  


What are the types of the proxy design you will get in the design pattern?

0 Answers  


Explain three types of components comprise an application design?

0 Answers  






SAP Design Studio live classes by Exports

1 Answers   SAP Labs,


What is viper architecture?

0 Answers  


What is the behavioral design pattern?

0 Answers  


What is single tone design pattern in java?

0 Answers  


What is the design pattern?

0 Answers  


What are the main types of concurrency design patterns?

0 Answers  


How can we design/implement singleton object?

3 Answers   HP,


Categories