adplus-dvertising
frame-decoration

Question

What will be the output of below mentioned code snippet?
<p style="color: red">text</p>

a.

make that specific paragraph red.

b.

error

c.

nothing happens

d.

none of the mentioned

Answer: (a).make that specific paragraph red.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the output of below mentioned code snippet?

Similar Questions

Discover Related MCQs

Q. The _______property is used to set the color of the text.

Q. Which of the following is the correct way to apply Styles?

Q. Which of the following CSS list properties is/are correct?

Q. A ___________ is used to define a special state of an element.

Q. The __________ property specifies the type of positioning method used for an element.

Q. Which of the following selector selects all elements of E that have the attribute attr that end with the given value?

Q. Which of the following selector selects the elements that are checked?

Q. Which of the following selector selects the elements that are the default among a set of similar elements?

Q. Which of the following selector selects an element that has no children?

Q. Which of the following selector selects the elements that are currently enabled?

Q. Which of the following selector selects the element that is the first child of its parent that is of its type?

Q. Which of the following selector selects elements that do not match the selector s?

Q. Which of the following selector selects an element if it’s the only child of its parent?

Q. Which of the following selector selects the element that is the target of a referring URI?

Q. Which of the following selector applies styles to elements that are valid per HTML5 validations set either with the pattern or type
attributes?

Q. By applying an ___________ a style can be applied to just a single tag.

Q. The _____________ attribute is used to define the name(s) of the class(es) to which a particular tag belongs.

Q. A similar rule called the ____________ is specified using the plus sign (+) and is used to select elements that would be siblings of each other.

Q. Which of the following selectors selects any tag with an id attribute set?

Q. Which of the following selectors selects direct descendants?