COMPUTER NETWORKS AND COMMUNICATIONS
INTERNET AND WEB TECHNOLOGIES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Which is correct CSS syntax?
|
{ body; color=black;}
|
|
body:color= black
|
|
body {color:black;}
|
|
(body color is black)
|
Explanation:
Detailed explanation-1: -Each declaration includes a CSS property name and a value, separated by a colon. Multiple CSS declarations are separated with semicolons, and declaration blocks are surrounded by curly braces.
There is 1 question to complete.