1.

Which of the following is not set with font-style property?(a) font-style: normal(b) font-style: italic(c) font-style: oblique(d) font-style: capitalizeThe question was posed to me in unit test.My query is from Fonts in HTML in section HTML Fonts, Tags and Elements of HTML

Answer»

The correct choice is (d) font-style: capitalize

Explanation: TEXT-transform: capitalize, CAPITALIZES the first letter of each WORD whereas font-style SET font as normal, italic, oblique. We use text-transform: uppercase and text-transform: lowercase to CHANGE the text from lowercase to uppercase and from uppercase to lowercase respectively.



Discussion

No Comment Found

Related InterviewSolutions