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 are the categories in which the design patterns can be divided?

823


Using any system, product, or service your organization provides, identify the human system roles for the product.

2369


What is the builder pattern?

836


Explain what are 5 common problems in the software development process?

823


Why should we not use singleton pattern?

797


What are the main types of concurrency design patterns?

819


Can we inherit singleton class?

823


What is mvp design pattern?

897


What is the factory pattern in the design pattern?

940


What is the difference between proxy and adapter?

815


Is mvc is a design pattern?

833


What is single tone design pattern in java?

797


What non-visual coding tools are available for web design?

2338


What is singleton and factory pattern?

820


What is a lazy initialization in singleton?

851