Which of the following ways is correct to write a CSS?

Options
- p {color:red;text-align:center};
- p {color:red;text-align:center}
- p {color:red;text-align:center;}
- p (color:red;text-align:center;)


CORRECT ANSWER : p {color:red;text-align:center;}

Discussion Board
Syntax-

Correct way to write CSS:

h1 {property:value; property:value;}

e.g: H1{color:red;text-align: left;}

Sapna 02-21-2017 04:07 AM

thanks

thanks


sheikh Hina 01-27-2016 09:33 AM

microbiology

that"s nice

javed ahmad 01-31-2015 11:45 AM

css

it is nice countinou in this way

kokeb abera 01-31-2015 03:58 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement