Which value is valid for the text-transform property?

Posted by: Pdfprep Category: 70-480 Tags: , ,

You are developing an HTML5 web application and are styling text.

You need to use the text-transform CSS property.

Which value is valid for the text-transform property?
A . lowercase
B . 20px
C . line-through
D . italic

Answer: A

Explanation:

CSS Syntax

text-transform: none|capitalize|uppercase|lowercase|initial|inherit;

Example

Transform text in different elements:

h1 {text-transform:uppercase;}

h2 {text-transform:capitalize;}

p {text-transform:lowercase;}

Reference: CSS text-transform Property

http://www.w3schools.com/cssref/pr_text_text-transform.asp

Leave a Reply

Your email address will not be published.