adplus-dvertising
frame-decoration

Question

Which of the following CSS declarations is correct?

a.

body: color = black

b.

{body; color : black}

c.

{body : color = black(body}

d.

body { color : black}

Answer: (d).body { color : black}

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following CSS declarations is correct?

Similar Questions

Discover Related MCQs

Q. Which of the following properties is used to change the background color?

Q. How do you convert the first letter of each word in text to a capital letter?

Q. How do you remove underline from hyper links?

Q. How to you set background color for all <h1> tags?

Q. Which of the following is a valid syntax to insert comments in a CSS file?

Q. In CSS, a : link defines the style for which of the following?

Q. Which of the following properties is used to change the left margin of an element?

Q. Which of the following options is available for changing the text color in CSS?

Q. Which of the following properties is used to set the maximum height for an element?

Q. Which of the following tags is used to insert java script code?

Q. What is the correct place to insert a java script code?

Q. What is the correct syntax to create a java script function?

Q. Which of the following is a java script comment?

Q. Which of the following would java script assign to an un initialized array element?

Q. Which of the following is not a java script opeartor?

Q. How do you add a property on a per – class basis?

Q. Which of the following properties returns the number of arguments expected by a function?

Q. Which loop executes at least once irrespective of the condition?

Q. Which CSS property controls the text size?

Q. What is the correct CSS syntax for making all the <p> elements bold?