Give the syntax of css?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is singleton and factory pattern?

808


What is the difference between factory and abstract factory design pattern?

763


What design pattern wrapper classes implement?

799


What is a behavioral design pattern?

814


Did you use ooa/ood methodologies? Did you use design patterns?

861


what are the creational design patterns

845


2. Create your own definition of a system. Based on the “system” definitions a. Identify your viewpoint of shortcomings in the definitions. b. Provide rationale as to why you believe that your definition overcomes those shortcomings. c. From an historical perspective, identify three precedented systems that were replaced by unprecedented systems.

2941


Why have we declared the instance reference volatile?

753


What are the languages used in the design pattern?

792


What is the difference between factory and strategy design pattern?

764


What are the types of participants of the prototype design pattern you will get?

784


Why is singleton bad?

762


What is the design pattern?

811


Why is singleton used?

833


What is aop design?

761