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

Which design pattern is mvc?

634


Shall we use abstract classes or interfaces in policy / strategy design pattern?

613


What is the builder pattern?

655


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

1933


What is architecture and what is design?

605






What are the types of design patterns?

587


Why have we used synchronized here?

625


What is singleton design pattern in java?

606


Hi, I have 9backlogs in btech and i am 2008 passed out,am working with an MNC from past 3 years.now, am willing to do MS, will it be any problem for me?

2709


Is bean a singleton?

580


What is the singleton design pattern?

639


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.

2736


Give me example of observer design pattern?

641


Are you using singleton in your code?

604


What is the factory pattern in the design pattern?

749