adplus-dvertising
frame-decoration

Question

What will be the output of following code snippet?
h1 {color: red text-decoration: underline; font-style: italic;}

a.

color: red, text-decoration: underline and font-style: italic all works

b.

text-decoration: underline and font-style: italic works

c.

color: red, text-decoration: underline works

d.

only font-style: italic works

Posted under CSS

Answer: (d).only font-style: italic works

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 following code snippet?

Similar Questions

Discover Related MCQs

Q. Which of the following is the correct way to applying style to a document?

Q. With, which tag you write the style rules directly within the document found within the head of the document.

Q. What does screen media type is used for?

Q. For Inline Style, we don’t need to reapply style information throughout the document and outside documents.

Q. Inline style has the lowest priority

Q. For External Style Sheets in some cases when @import is used, the browser may cause a rendering “flash” under slow loading conditions.

Q. Which of the following tag is used to linked information should be placed inside?

Q. Which of the following tag can be used to embed a Document-wide styles in a document’s head element?

Q. The ________________ directive allows style sheets to be grouped and joined together, though some might wonder what the value of this function is given what linked styles provide.

Q. Which of the following measurement defines a measurement relative to a font’s x-height?

Q. Which of the following measurement defines measurement as a percentage?

Q. Which of the following property sets the font size of text?

Q. Which of the following property sets a variation of the specified or default font family?

Q. Which of the following property defines labels for a list of items?

Q. Which of the following property assigns a graphic image to a list item?

Q. Which of the following property sets the amount of spacing between letters?

Q. Which of the following CSS3 Color Feature can be used as a macro for whatever the current color is?

Q. Which of the following CSS3 Color Feature like RGB color but adds an alpha channel value to specify the opacity of the color?

Q. Which of the following Color Format is a CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML?

Q. Which of the following Color Format is a CSS2 introduced named color keywords which allows Web page colors to be matched to an operating system’s color use?