Explore 100's Of Free Video Tutorials

Keep Learning, Keep Coding & Keep Sharing

CSS

CSS text-transform & font-variant

Notes:

CSS text-transform property:
It is used to specify the text case to be applied
Values: uppercase | lowercase | capitalize

CSS font-variant property:
It is used to specify the text case to be applied
Values: small-caps | normal

Interview Questions:

1. How to transform first character of each word in a paragraph to capital letter?
a. text- transform : capital
b. text-transform : capitalize
c. text-transform : uppercase
d. text-transform : capital-letter
Answer: b